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
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(playerid, params[])
{
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, 1);
SendClientMessage(playerid, 0xFF4500AA, "Mask off");
return 1;
}
CMD:maskon(playerid, params[])
{
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, 0);
SendClientMessage(playerid, 0xFF4500AA, "Mask on");
return 1;
}