SA-MP Forums Archive
Pawno 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: Pawno Error! (/showthread.php?tid=407851)



Pawno Error! - Gold_Master - 15.01.2013

(3982) : error 017: undefined symbol "exp"
(3982) : warning 215: expression has no effect
(3982) : error 001: expected token: ";", but found "]"
(3982) : error 029: invalid expression, assumed zero
(3982) : fatal error 107: too many error messages on one line


Line// TextDrawSetString(exp[i], string);


Re: Pawno Error! - DaRk_RaiN - 15.01.2013

Post the code, the bugged line.


Re: Pawno Error! - Gold_Master - 15.01.2013

TextDrawSetString(exp[i], string);


Re: Pawno Error! - Superdude - 15.01.2013

You defined (exp[i]) right?


Re: Pawno Error! - DaRk_RaiN - 15.01.2013

Add this to the top of your script (under the includes)
pawn Код:
new Text:exp[MAX_PLAYERS];



Re: Pawno Error! - Infinity90 - 15.01.2013

pawn Код:
new Text:exp[MAX_PLAYERS];



Re: Pawno Error! - Konstantinos - 15.01.2013

Quote:
Originally Posted by Superdude
Посмотреть сообщение
You defined (exp[i]) right?
If he did, he wouldn't get the error for undefined symbol..