Question about textdraws - 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: Question about textdraws (
/showthread.php?tid=311471)
Question about textdraws -
oliverrud - 16.01.2012
I'm getting
Код:
warning 213: tag mismatch
When I try to do following:
pawn Код:
Text:CarText[MAX_PLAYERS]=-1;
Doesn't the Text:Variables support integers?
If not what can I else do, what I'm trying to is to just reset the variable?
Re: Question about textdraws -
Элиот - 16.01.2012
new Text:CarText[MAX_PLAYERS];
- OnPlayerConnect ?
CarText[playerid] = -1;
Re: Question about textdraws -
Vince - 16.01.2012
pawn Код:
new Text:CarText[MAX_PLAYERS] = {Text:INVALID_TEXT_DRAW, ...};
Re: Question about textdraws -
oliverrud - 16.01.2012
Quote:
Originally Posted by Vince
pawn Код:
new Text:CarText[MAX_PLAYERS] = {Text:INVALID_TEXT_DRAW, ...};
|
No warning, seems to be working, appreciate it