Also ich habe folgendes Problem
C:\Dokumente und Einstellungen\Danii\Desktop\kppp.pwn(113) : error 017: undefined symbol "gPlayerClass"
C:\Dokumente und Einstellungen\Danii\Desktop\kppp.pwn(113) : warning 215: expression has no effect
C:\Dokumente und Einstellungen\Danii\Desktop\kppp.pwn(113) : error 001: expected token: ";", but found "]"
C:\Dokumente und Einstellungen\Danii\Desktop\kppp.pwn(113) : error 029: invalid expression, assumed zero
C:\Dokumente und Einstellungen\Danii\Desktop\kppp.pwn(113) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Die Zeile dazu:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerClass(playerid, classid);
SetupPlayerForClassSelection(playerid);
/*113*/ gPlayerClass[playerid] = classid;
switch (classid) {
case 0:
{
GameTextForPlayer(playerid, "~g~Army", 500, 3);
}
case 1:
{
GameTextForPlayer(playerid, "~g~Terrorist", 500, 3);
}
}
return 1;
}