SA-MP Forums Archive
3DText Atach to player ... - 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: 3DText Atach to player ... (/showthread.php?tid=105341)



3DText Atach to player ... - DokerJr - 28.10.2009

how to atach 3dtext to player ?
example: Admin, Moderator, NPC ...

paste me wiki link or one code ...



Sorry for my bad english


Re: 3DText Atach to player ... - Gergo1352 - 28.10.2009

Why don't you search on the SA:MP Wiki instead of opening a new topic?


Re: 3DText Atach to player ... - DokerJr - 28.10.2009

I searched ...
but do not understand how to use code ...


Re: 3DText Atach to player ... - Gergo1352 - 28.10.2009

https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer

[code=Example]
if(strcmp(cmd,"/command",true)==0)
{
new Text3D: MyText;
MyText = Create3DTextLabel("Some text here...",0xFFFFFFFF,0.0,0.0,0.0,20,0,1);
Attach3DTextLabelToPlayer(MyText, playerid, 0.0, 0.0, 0.5);
return 1;
}
[/code]


Re: 3DText Atach to player ... - radi - 28.10.2009

nvm gergo posted it 1 second before me


Re: 3DText Atach to player ... - DokerJr - 29.10.2009

thanks