25.10.2013, 12:16
I get tag mismatch warning from the line:
This is global variable radioDeployedLabel:
I assign a value to the variable and that variable array index is playerid,so i can later delete the 3DTextLabel in another command,but the Label which was created by that player.
Why it warns me it's tag mismatch?
(PRinfo[playerid][locX], PRinfo[playerid][locY], PRinfo[playerid][locZ] are just values that hold the location of the label,they're near the player location)
Код:
radioDeployedLabel[playerid] = Create3DTextLabel(string, 0xFFF900FF, PRinfo[playerid][locX], PRinfo[playerid][locY], PRinfo[playerid][locZ], 35.0, 0, 0);
Код:
new radioDeployedLabel[MAX_PLAYERS];
Why it warns me it's tag mismatch?
(PRinfo[playerid][locX], PRinfo[playerid][locY], PRinfo[playerid][locZ] are just values that hold the location of the label,they're near the player location)