SA-MP Forums Archive
CreatePlayer3DTextLabel - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: CreatePlayer3DTextLabel (/showthread.php?tid=97029)



CreatePlayer3DTextLabel - user226 - 12.09.2009

thanks


Re: CreatePlayer3DTextLabel - Kalcor - 12.09.2009

You can't attach labels to yourself, you won't see them. They work like name tags when you attach them to a player.


Re: CreatePlayer3DTextLabel - user226 - 12.09.2009

Quote:
Originally Posted by Kye
You can't attach labels to yourself, you won't see them. They work like name tags when you attach them to a player.
I know, but other player also did not see this 3DText


Re: CreatePlayer3DTextLabel - Balon - 12.09.2009

You made a player 3d text label which is visible only for you, as you specified.


Re: CreatePlayer3DTextLabel - Goldkiller - 12.09.2009

Because you use CreatePlayer3DTextLabel,instead of Create3DTextLabel .
CreatePlayer3DTextLabel - (Creates a 3D Text Label only for a specific player)


Re: CreatePlayer3DTextLabel - user226 - 12.09.2009




Re: CreatePlayer3DTextLabel - user226 - 12.09.2009




Re: CreatePlayer3DTextLabel - gijsmin - 12.09.2009

Try this:

pawn Код:
new Text3D:text[MAX_PLAYERS];

if(strcmp(cmdtext, "/abc", true) == 0){
SetTimer("cccddd",20000,0);
text[playerid] = Create3DTextLabel("gog",0xFFFF00AA,0.0,0.0,0.0,15.0,0);
Attach3DTextLabelToPlayer(text[playerid], playerid, 0.0, 0.0, -0.4);
return 1;}

stock UnAttach3DTextLabelToPlayer(playerid) return Delete3DTextLabel(text[playerid]);
}



Re: CreatePlayer3DTextLabel - user226 - 12.09.2009

thnks theme close please