SA-MP Forums Archive
Help With Errors. - 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: Help With Errors. (/showthread.php?tid=587055)



Help With Errors. - kleantzhubi - 27.08.2015

I Need Help,How can i fix this?

../gamemodes/OnConnect.pwn(225) : error 017: undefined symbol "gHeaderTextDrawId"
../gamemodes/OnConnect.pwn(225) : warning 215: expression has no effect
../gamemodes/OnConnect.pwn(225) : error 001: expected token: ";", but found "]"
../gamemodes/OnConnect.pwn(225) : error 029: invalid expression, assumed zero
../gamemodes/OnConnect.pwn(225) : fatal error 107: too many error messages on one line


Re: Help With Errors. - MarvinPWN - 27.08.2015

Maybe you have to put this into your script (global):
PHP код:
new gHeaderTextDrawId[MAX_PLAYERS]; 
If you have it already in your script, you should us send your row 225.


Re: Help With Errors. - Michael B - 27.08.2015

Post the 225th line from your script here.

Edit: Posted this simultaneously with Marvin, my bad.


Re: Help With Errors. - kleantzhubi - 27.08.2015

Line 225
prisondoor3,
Line 225 in Onconnect.pwn gHeaderTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW;


Re: Help With Errors. - kleantzhubi - 27.08.2015

Help??


Re: Help With Errors. - CraTzy - 27.08.2015

omg, can you use Code format and past you codes ?