Disable player name,id,health and armor.
#1

Basically I want that for my RP server nothing will be visable above the players head, I know this is possible as I have seen this in a couple of servers/scripts so please help me!

I don't want a command or anything, I want some sort of a function that would disable nametags health and armor as soon as the player logs in/connects/joins/gamemodeint...
Reply
#2

This functions allows you to toggle the drawing of player nametags, healthbars and armor bars which display above their head. For use of a similar function like this on a global level, ShowNameTags function.

Source: https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer
Reply
#3

Thanks but I was hoping someone could give me an already-made code...
Reply
#4

Put this into your "public OnGameModeInit()"

pawn Код:
SetNameTagDrawDistance(1.0);
It will limit the distance radius of nametags to 1,
In others words, the other players will only see their nametag and helath, and armour if they are REALLY close... Try it...
Reply
#5

Thank you man, repped.
Reply
#6

Your welcome and thanks, ...
Reply
#7

Also, i think this will work too...
Quote:

ShowNameTags(0);

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)