Tag mismatch?
#1

I get tag mismatch warning from the line:
Код:
radioDeployedLabel[playerid] = Create3DTextLabel(string, 0xFFF900FF, PRinfo[playerid][locX], PRinfo[playerid][locY], PRinfo[playerid][locZ], 35.0, 0, 0);
This is global variable radioDeployedLabel:
Код:
new radioDeployedLabel[MAX_PLAYERS];
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)
Reply
#2

Missing Parameters, re-check your parameters

Parameters
pawn Код:
Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS);
EDIT: Oh, Yeah didn't see your variable, you forgot to put Text3D
Reply
#3

No i forgot to add Text3D: infront of declaring the variable at first
Код:
new Text3D:radioDeployedLabel[MAX_PLAYERS];
Just realised it now,sorry for bothering.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)