SA-MP Forums Archive
expected token ; but found if - 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: expected token ; but found if (/showthread.php?tid=476976)



expected token ; but found if - Blackazur - 21.11.2013

Hello, who can help me with this?

Код:
if(IsSpecing[playerid] == 0)
Код:
expected token: ";", but found "if"



Re: expected token ; but found if - Konstantinos - 21.11.2013

It expected a semicolon ";" but it found an "if", so add ; to the above line of
pawn Код:
if(IsSpecing[playerid] == 0)



Re: expected token ; but found if - Voxel - 21.11.2013

Show us the whole piece of code from where this function is from