SA-MP Forums Archive
1 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)
+--- Thread: 1 error (/showthread.php?tid=504667)



1 error - Gold_Master - 05.04.2014

I have 1 error i can fix it

Код:
(20186) : error 001: expected token: ";", but found "if"
LINE
Код:
if(realtime)



Re: 1 error - Konstantinos - 05.04.2014

Go in line 20185 and add a semicolon (;) at the end of it.


Re: 1 error - Gold_Master - 05.04.2014

SetTimer("Lotto1", 60000, 0)

Line 20185


Re: 1 error - Konstantinos - 05.04.2014

I told you to add ";" at the end of it, not so hard:
pawn Код:
SetTimer("Lotto1", 60000, 0);



Re: 1 error - ParadiseRP - 05.04.2014

Do like that
'SetTimer("Lotto1", 60000, 0);


Re: 1 error - thomaswilliams - 05.04.2014

Dude your forgetting your semi-colons use this

PHP код:
SetTimer("Lotto1"600000); 



Re: 1 error - ChristianIvann09 - 05.04.2014

Try this

Код:
if(realtime);



Re: 1 error - Konstantinos - 05.04.2014

Quote:
Originally Posted by ChristianIvann09
Посмотреть сообщение
Try this

Код:
if(realtime);
Using semicolon at the end of an if statement will result in more errors. The solution has been mentioned 3 times already above.


Re: 1 error - ChristianIvann09 - 05.04.2014

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Using semicolon at the end of an if statement will result in more errors. The solution has been mentioned 3 times already above.
lol sorry. i thought that problem is caming from that line