Text Label Help -
razol - 16.02.2012
Hi guys,
I got a problem.Problem is Text Label codes, i used everyways..But, still SAME ERROR, SAME ERROR !
Whatever, i'll give the codes..I hope, somebody help me.
Error is:
Код:
warning 213: tag mismatch
There is one error here.
Error line is:
pawn Код:
new PlayerText3D:Tanisma1; // Global Variable.
new Float:X, Float:Y, Float:Z, str[50];
GetPlayerPos(playerid,X,Y,Z);
format(str,50,"{FFFFFF}Tanınmıyor[{F60000}%d{FFFFFF}]",playerid);
Tanisma1 = CreatePlayer3DTextLabel(playerid,str, -1, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(Tanisma1,playerid, 0.0, 0.0, 0.2); // Here, this line is error line.
I waiting for help guys !
Re: Text Label Help -
Rob_Maate - 16.02.2012
replace
with
Re: Text Label Help -
razol - 16.02.2012
Now, i got 3 warning.
warning 213: tag mismatch
warning 213: tag mismatch
warning 213: tag mismatch
pawn Код:
Tanisma1 = CreatePlayer3DTextLabel(playerid,str, -1, 30.0, 40.0, 50.0, 40.0, 0); // 1st error.
UpdatePlayer3DTextLabelText(playerid,Tanisma1, -1, str); // 2nd error.
UpdatePlayer3DTextLabelText(playerid,Tanisma1,-1,str); // 3rd error.
Re: Text Label Help -
MP2 - 16.02.2012
Show the definition of Tanisma1.
Re: Text Label Help -
razol - 16.02.2012
Re: Text Label Help -
MP2 - 16.02.2012
Change it to PlayerText3D:
Re: Text Label Help -
razol - 16.02.2012
Now, i got one warning.
warning 213: tag mismatch
Error:
pawn Код:
Attach3DTextLabelToPlayer(Tanisma1,playerid, 0.0, 0.0, 0.2);
Re: Text Label Help -
MP2 - 16.02.2012
AttachPlayer3DTextLabelToPlayer doesn't exist, so it can't be done.
Re: Text Label Help -
razol - 16.02.2012
Quote:
Originally Posted by MP2
AttachPlayer3DTextLabelToPlayer doesn't exist, so it can't be done.
|
What doest that mean ?
So, this function doesn't exist.So, what can i do now ?
Re: Text Label Help -
Vince - 16.02.2012
What you're trying to do won't work anyway. CreatePlayer3DTextLabel creates a label that is visible only to that specific player. But since labels attached to your own character are not visible to you, no-one will be able to see it.