SA-MP Forums Archive
i need help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: i need help (/showthread.php?tid=590686)



i need help - LarryTiger - 02.10.2015

Код:
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;
}
I need help, the problesm check bellow
Код:
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.