SA-MP Forums Archive
error 001: expected token: ";", but found "-identifier-" - 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: error 001: expected token: ";", but found "-identifier-" (/showthread.php?tid=650849)



error 001: expected token: ";", but found "-identifier-" - Marv123 - 08.03.2018

How To Solve This
2018-03-08.png
Untitled.jpg
new.jpg


Re: error 001: expected token: ";", but found "-identifier-" - jasperschellekens - 08.03.2018

Post your code here and tell us which line is the error.
No code given = no effort made to help you.
Nobody is going trough that image.


Re: error 001: expected token: ";", but found "-identifier-" - iLearner - 08.03.2018

PHP код:
new Text:My Textdraw
to
PHP код:
new Text:MyTextdraw



Re: error 001: expected token: ";", but found "-identifier-" - rfr - 08.03.2018

you've got a space in the textdraw name rename it so it doesn't have any spaces or replace it with _


Re: error 001: expected token: ";", but found "-identifier-" - RxErT - 08.03.2018

PHP код:
new Text:mytd;

public 
OnGameModeInit()
{
    
mytd TextDrawCreate(....);
    return 
1;