Tagg Mismatch! - 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: Tagg Mismatch! (
/showthread.php?tid=444182)
Tagg Mismatch! -
faff - 15.06.2013
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
Re: Tagg Mismatch! -
faff - 15.06.2013
bump
Re: Tagg Mismatch! -
Kalladel - 17.06.2013
Add new Float:thirst, Float

VehicleHealthTD;
Re: Tagg Mismatch! -
Vince - 17.06.2013
Quote:
Originally Posted by Kalladel
Add new Float:thirst, Float:pVehicleHealthTD;
|
Don't talk bullshit. The tag is
PlayerText:.
Re: Tagg Mismatch! -
Knappen - 17.06.2013
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];
Re: Tagg Mismatch! -
faff - 27.06.2013
@Knappen - Thanks, it worked.