SA-MP Forums Archive
Empty statement - 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: Empty statement (/showthread.php?tid=473731)



Empty statement - JohnD123 - 04.11.2013

Im working with my script and when I compile it, it shown

Quote:

(756) : error 036: empty statement

Here is my line:

Код:
	if(GetPlayerMoney(playerid) >150000);
What must i do?


Re: Empty statement - LeeXian99 - 04.11.2013

if(GetPlayerMoney(playerid) >150000);

to

if(GetPlayerMoney(playerid) >150000)

remove the semicolon!