D:\Dokumente und Einstellungen\Biernacik\Desktop\AMX Server\Los Santos RPG\gamemodes\zm.htm(246) : error 028: invalid subscript (not an array or too many subscripts): "Team"
D:\Dokumente und Einstellungen\Biernacik\Desktop\AMX Server\Los Santos RPG\gamemodes\zm.htm(246) : warning 215: expression has no effect
D:\Dokumente und Einstellungen\Biernacik\Desktop\AMX Server\Los Santos RPG\gamemodes\zm.htm(246) : error 001: expected token: ";", but found "]"
D:\Dokumente und Einstellungen\Biernacik\Desktop\AMX Server\Los Santos RPG\gamemodes\zm.htm(246) : error 029: invalid expression, assumed zero
D:\Dokumente und Einstellungen\Biernacik\Desktop\AMX Server\Los Santos RPG\gamemodes\zm.htm(246) : 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.
// -------- Team's ----------
#define TEAM_Rettungsteam 0
#define TEAM_Zombies 1
#define TEAM_Zivilisten 2
public OnPlayerSpawn(playerid)
{
if(Team[playerid] == Zombies) {
SetPlayerTeam(playerid,2);
}
else if(Team[playerid] == Zivilisten) {
SetPlayerTeam(playerid,3);
}
else if(Team[playerid] == Rettungsteam) {
SetPlayerTeam(playerid,1);
}
return 1;
}
was ist hier der fehler^^