02.10.2015, 16:53
Код:
public OnPlayerSpawn(playerid){ if(ServerData[Started] == true) { SetPVarInt(playerid, "Geberdi", 1); if(GetServerCount() > 1){ StartSpectate(playerid, GetRandomPlayer(playerid));} } SetPVarInt(playerid, "Spawned", 1); TextDrawShowForPlayer(playerid, MapText); TextDrawShowForPlayer(playerid, GecenSurem[playerid]); TextDrawShowForPlayer(playerid, SpectateYou[playerid]); DisableRemoteVehicleCollisions(playerid,0); 661 return 0; }
Код:
C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(661) : error 012: invalid function call, not a valid address C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(661) : warning 215: expression has no effect C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(661) : warning 215: expression has no effect C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(661) : error 001: expected token: ";", but found ")" C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(661) : error 029: invalid expression, assumed zero C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(661) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.