SA-MP Forums Archive
Can anybody guide me how to do the same nametags in the picture? - 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)
+--- Thread: Can anybody guide me how to do the same nametags in the picture? (/showthread.php?tid=645546)



Can anybody guide me how to do the same nametags in the picture? - datnguyen112 - 29.11.2017

HI,

Can anybody guide me how to do the same nametags in the picture?
Thanks.


Re: Can anybody guide me how to do the same nametags in the picture? - RageCraftLV - 29.11.2017

I guess it's ShowNameTags(0), 3DText on top of player with his name and ID.

Shouldn't be hard, but I'm not in the mood to try now.


Re: Can anybody guide me how to do the same nametags in the picture? - datnguyen112 - 29.11.2017

Ask how to display the name above
\ r {% f1} {FFFFCC} Giap:% .1f ", GetPlayerNameExt (playerid), playerid, health, armor);


Re: Can anybody guide me how to do the same nametags in the picture? - lNoobOnDutyl - 29.11.2017

Guess something like

DutyLabel[playerid] = Create3DTextLabel("Admin On Duty \n Do NOT Attack",0xFF000099,0,0,0,50,-1,1);
Attach3DTextLabelToPlayer(DutyLabel[playerid], playerid, 0,0,0);