Posts: 21
Threads: 9
Joined: Jul 2010
Reputation:
0
Is there an callback to hide health bar and armor bar ?
Posts: 6,129
Threads: 36
Joined: Jan 2009
08.10.2010, 06:39
(
Последний раз редактировалось Calgon; 08.10.2010 в 07:09.
)
https://sampwiki.blast.hk/wiki/ShowNameTags
Not a callback, a function. The function above has to be used in OnGameModeInit, if you wish to change health bars/nametag status' during game run-time use:
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer
Posts: 21
Threads: 9
Joined: Jul 2010
Reputation:
0
I said health bar, not name tag.
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by Mr.Ilusion
I said health bar, not name tag.
|
If you read the wiki page properly (then again, that's probably too much to expect from someone who failed to spell 'illusion' correctly), you would have seen:
Quote:
This functions allows you to toggle the drawing of player nametags, healthbars and armor bars which display above their head.
|
Posts: 21
Threads: 9
Joined: Jul 2010
Reputation:
0
I'm talking about health bar near money, top right.
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by Mr.Ilusion
I'm talking about health bar near money, top right.
|
Be more specific. You could cover it with a textdraw, or find a way to hide the HUD (drunk levels / spectating tends to hide the HUD, but those aren't exactly convenient solutions).