tag mismatch
#1

Код:
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
Reply
#2

Do you have:
pawn Код:
new Text3D:PlayerLabel[MAX_PLAYERS];
?
Reply
#3

Yes, I have that at the top of my script

> Thanks for replying though
Reply
#4

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.
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)