Tagg Mismatch!
#1

Hello,
I've took an example from the wikipedia.. for how Playertextdraw works.

Wiki Example:

pawn Код:
PlayerTextDrawSetString(playerid, pVehicleHealthTD[playerid], tdstring);
Mine:

pawn Код:
PlayerTextDrawSetString(playerid, thirst[playerid], TDDstring);
TDDstring = Defined.
thirst[playerid] = Defined.


Well..
But it's giving this error:

Код:
 (2328) : warning 213: tag mismatch
Could somebody help me?

(I'm using 50 more Player Textdraw strings, and they are all showing the same error).
I'm not posting all of them.


Greetings - Faff
Reply
#2

bump
Reply
#3

Add new Float:thirst, FloatVehicleHealthTD;
Reply
#4

Quote:
Originally Posted by Kalladel
Посмотреть сообщение
Add new Float:thirst, Float:pVehicleHealthTD;
Don't talk bullshit. The tag is PlayerText:.
Reply
#5

The textdraw needs to be defined as follows

pawn Код:
new PlayerText:thirst[MAX_PLAYERS];
You have most likely defined it like
pawn Код:
new Text:thirst[MAX_PLAYERS];
Reply
#6

@Knappen - Thanks, it worked.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)