28.10.2009, 20:58
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]
[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]