SA-MP Forums Archive
Do ur guys know how to make other players unable to see the hp bar on our charac - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Do ur guys know how to make other players unable to see the hp bar on our charac (/showthread.php?tid=127372)



Do ur guys know how to make other players unable to see the hp bar on our charac - uplovethai - 13.02.2010

Do ur guys know how to make other players unable to see the hp bar on our character?


Re: Do ur guys know how to make other players unable to see the hp bar on our charac - Sampiscool123 - 13.02.2010

I don't think it's possible.


Re: Do ur guys know how to make other players unable to see the hp bar on our charac - ¤Adas¤ - 13.02.2010

You can deactivate it, but then you deactivate the name above player, too. But you can attach a 3D text to player and I think it will work.
And you can create function:
pawn Код:
stock SetPlayerColorEx(playerid, color)
{
new ss[50];
format(ss, sizeof(ss), "%s(%i)", Name(playerid), playerid);
Update3DTextLabelText(NameTag[playerid], ss, color);
return SetPlayerColor(playerid, color);
}
I hope this will help you.


Re: Do ur guys know how to make other players unable to see the hp bar on our charac - dice7 - 13.02.2010

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

pawn Код:
for(new id = 0; id < MAX_PLAYERS; id++)
{
  ShowPlayerNameTagForPlayer(botplayerid, id, false);
}