I Need Help !!!!!! 3DTextLabel
#1

I would like to create a text-based 3DTextLabel to show the image of each person, so I try to create a custom.
But the problem warning 213: tag mismatch would like to ask a question.

Код:
if(PlayerInfo[playerid][pGang] == 1)
	{
     	new Float:X, Float:Y, Float:Z;
    	GetPlayerPos(playerid, X, Y, Z);
    	GangM[playerid] = Create3DTextLabel("%s",PlayerInfo[playerid][pLabel],0x00FFFFFF,X, Y, Z+2.0,20.0,1); <<2860
     	Attach3DTextLabelToPlayer(GangM[playerid],playerid,0,0,1.2);
	}
Код:
D:\SAMP 0.3e\SAMP 0.3e\gamemodes\Limited-1.0.pwn(2860) : warning 213: tag mismatch
Help me with edge thanks.
Reply
#2

pawn Код:
GangM[playerid] = Create3DTextLabel(PlayerInfo[playerid][pLabel],0x00FFFFFF,X, Y, Z+2.0,20.0,1);
Reply
#3

How did you declare GangM[MAX_PLAYERS]? For 3DText stuff you should declare it like this:
pawn Код:
new Text3D:YourVarName;
In your case, it would be
pawn Код:
new Text3D:GangM[MAX_PLAYERS];
Either this, or the thing SuperViper said is your problem probably.
Reply
#4

Thanks for the advice.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)