public OnPlayerSpawn(playerid)
{
switch(GetPVarInt(playerid,"Fraktion"))
{
case 0:()
case 1:(SetPlayerPos(playerid,sapdspawn);SetPlayerColor(playerid,BLAU); )
case 2:(SetPlayerPos(playerid,yakuzaspawn))
case 3:(SetPlayerPos(playerid,taxispawn);SetPlayerColor(playerid,GELB); )
}
return 1;
}
C:\Users\Administrator\Desktop\PAWNO5\gamemodes\Testserver.pwn(212) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\PAWNO5\gamemodes\Testserver.pwn(212 -- 213) : error 001: expected token: ")", but found "case"
C:\Users\Administrator\Desktop\PAWNO5\gamemodes\Testserver.pwn(213) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\PAWNO5\gamemodes\Testserver.pwn(213) : 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.
Bitte um Hilfe