SA-MP Forums Archive
Making Everyone not show their name over their heads? - 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: Making Everyone not show their name over their heads? (/showthread.php?tid=294713)



Making Everyone not show their name over their heads? - Medardo4Life - 02.11.2011

Edit:

Hey,
Id like regular roleplayers(in my server) to walk around without seeing the nametags on the players heads but admins could see them, but i want everyone to see each others health so nobody is healthhacking/etc.

Id appreciate the help.

Using [pAdmin] for admin.

Giving Rep Gladly


Re: Making Everyone not show their name over their heads? - Stigg - 02.11.2011

Under OnGameModeInit()
pawn Код:
ShowNameTags(false);



Re: Making Everyone not show their name over their heads? - Medardo4Life - 02.11.2011

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Under OnGameModeInit()
pawn Код:
ShowNameTags(false);
And for Admins to see everyone? Using [pAdmin]


Re: Making Everyone not show their name over their heads? - Stigg - 02.11.2011

Instead use ShowPlayerNameTagForPlayer:

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

Adjust to suit your needs.


Re: Making Everyone not show their name over their heads? - Medardo4Life - 02.11.2011

could anyone post code on how it would work?

Id like regular players to walk around without seeing the nametags on the playersheads but admins could see them, but i want everyone to see each others health so nobody is healthhacking/etc.