syntax error? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: syntax error? (
/showthread.php?tid=196354)
syntax error? -
The_Gangstas - 05.12.2010
pawn Код:
C:\Documents and Settings\Karim\My Documents\Grand Theft Auto San Andreas\SA-MP SERVER(CNR)\gamemodes\COPSAR~1.pwn(9538) : error 076: syntax error in the expression, or invalid function call
if(DerbyCountDown == 0 && iRoundStarted == true) return SendClientMessage(playerid, RED, "Error: The Derby Event Has Already Started!");
Re: syntax error? -
Lynn - 06.12.2010
Try this(Not tested.)
pawn Код:
if(DerbyCountDown == 0)
{
if(iRoundStarted == 1)
{
SendClientMessage(playerid, RED, "Error: The Derby Event Has Already Started!");
}
return 1;
}