07.01.2010, 20:53
Hey, I'm trying to make it create and attatch a 3D text label to a player if they're admin when they spawn.
Here's my code:
I'm getting "tag mismatch" on both the Create3DTextLabel and Attach3DTextLabelToPlayer lines
I have no experience with 3D text labels, i've done what the wiki said, still no luck.
Here's my code:
Код:
public OnPlayerSpawn(playerid) { if(Jailed[playerid]) return SetPlayerPos(playerid,2194.044921875, -7526.716796875, 2537.0349121094); if(pInfo[playerid][Level] > 0) { label = Create3DTextLabel("Admin",COLOR_RED,0.0,0.0,0.0,40.0,0); // tag mismatch Attach3DTextLabelToPlayer(label,playerid,0.0,0.0,0.0); // tag mismatch return 1; } return 1; }
I have no experience with 3D text labels, i've done what the wiki said, still no luck.