SA-MP Forums Archive
help with hp & armour bar - 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: help with hp & armour bar (/showthread.php?tid=536063)



help with hp & armour bar - Barnwell - 07.09.2014



how i can when im connect to my server is show me hp and armour bar how to disabled it when another player join can see hp & armour bar how to change it +rep who help me!


Re: help with hp & armour bar - MasonSFW - 07.09.2014

pawn Код:
ShowNameTags(0);
Put in under OnGameInit


Re: help with hp & armour bar - MBilal - 07.09.2014

PHP код:
if u want to hide player name Health and armour you can use cmd it will help you
CMD
:maskoff(playeridparams[])
{
for(new 
0MAX_PLAYERSi++) ShowPlayerNameTagForPlayer(iplayerid1);
SendClientMessage(playerid0xFF4500AA"Mask  off");
return 
1;
}
CMD:maskon(playeridparams[])
{
for(new 
0MAX_PLAYERSi++) ShowPlayerNameTagForPlayer(iplayerid0);
SendClientMessage(playerid0xFF4500AA"Mask on");
return 
1;