Question about textdraws
#1

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?
Reply
#2

new Text:CarText[MAX_PLAYERS];

- OnPlayerConnect ?
CarText[playerid] = -1;
Reply
#3

pawn Код:
new Text:CarText[MAX_PLAYERS] = {Text:INVALID_TEXT_DRAW, ...};
Reply
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
pawn Код:
new Text:CarText[MAX_PLAYERS] = {Text:INVALID_TEXT_DRAW, ...};
No warning, seems to be working, appreciate it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)