tag 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: tag mismatch (
/showthread.php?tid=365033)
tag mismatch -
lewismichaelbbc - 01.08.2012
Код:
PlayerLabel[playerid] = Create3DTextLabel("Level 85 Mage",0xF97804FF,30.0,40.0,50.0,30,-1,1);
Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.3);
There is a tag mismatch on both of those lines... however, it still works ingame. But how can i remove the tag mismatch warnings?
Thanks
Re: tag mismatch -
Vince - 01.08.2012
Do you have:
pawn Код:
new Text3D:PlayerLabel[MAX_PLAYERS];
?
Respuesta: tag mismatch -
lewismichaelbbc - 02.08.2012
Yes, I have that at the top of my script
> Thanks for replying though
Re: Respuesta: tag mismatch -
Littlehelper - 02.08.2012
Quote:
Originally Posted by lewismichaelbbc
Yes, I have that at the top of my script
> Thanks for replying though 
|
I tested by posting these lines in my GM with
pawn Код:
new Text3D:PlayerLabel[MAX_PLAYERS];
And it did not give any errors, please re-check your error lines.
EDIT: if it is just a warning, leave it.
It will still work IG as you stated.
Re: Respuesta: tag mismatch -
Sinner - 02.08.2012
Quote:
Originally Posted by Littlehelper[MDZ]
EDIT: if it is just a warning, leave it.
It will still work IG as you stated.
|
That's a very stupid suggestion, warnings are there for a reason.