Name Tag & ID - 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: Name Tag & ID (
/showthread.php?tid=152675)
Name Tag & ID -
gtapolicemods - 05.06.2010
Just Wondering....
is there a way just to disable the name tag but it still show the players id above there head?
Re: Name Tag & ID -
Jay. - 05.06.2010
DisablePlayerNameTags();
Under on GamemodeInit
Re: Name Tag & ID -
UsaBoy91 - 05.06.2010
Use that , and you must create a 3D Text Label ...
Re: Name Tag & ID -
DJDhan - 05.06.2010
Quote:
Originally Posted by Angel φ
Use that , and you must create a 3D Text Label ...
|
Quote:
Originally Posted by [XS
XtremE_ ]
DisablePlayerNameTags();
Under on GamemodeInit
|
And before you ask how to create 3d text labels :
CLICK ME!!!
Re: Name Tag & ID -
br0adyb0ii - 05.06.2010
is there anyway to make it turn off for all other players but cops can still see the players name and id?
Re: Name Tag & ID -
DJDhan - 05.06.2010
Quote:
Originally Posted by br0adyb0ii
is there anyway to make it turn off for all other players but cops can still see the players name and id?
|
No. Assuming you want to do it with 3D Text Labels. There is no Hide3DTextLabel function yet.
But yes, You can use
ME!!!,a for loop and some common sense.
Re: Name Tag & ID -
MadeMan - 05.06.2010
Quote:
Originally Posted by br0adyb0ii
is there anyway to make it turn off for all other players but cops can still see the players name and id?
|
It is possible, use ShowPlayerNameTagForPlayer and set name tag off for all other players and on for cops.
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer