SA-MP Forums Archive
What's wrong with this format?? - 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: What's wrong with this format?? (/showthread.php?tid=521535)



What's wrong with this format?? - NoahF - 23.06.2014

LINE:
Код:
format(string1, 128, "You just robbed %s! You stole $%d. Watch your back, they might come after you!", TargetName, mrand);
ERROR:
Код:
error 001: expected token: ";", but found "-identifier-"
I don't see anything wrong. ._.


Re: What's wrong with this format?? - Rittik - 23.06.2014

You are missing a ";" in the above line of this formatting line.


Re: What's wrong with this format?? - NoahF - 23.06.2014

Quote:
Originally Posted by Rittik
Посмотреть сообщение
You are missing a ";" in the above line of this formatting line.
TY! I was thinking it was on the formatting line so I didn't look at the above line lol


Re: What's wrong with this format?? - Barnwell - 23.06.2014

; you will find it there are no worng with this format plesae check it