Hide hud - 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: Hide hud (
/showthread.php?tid=596458)
Hide hud -
StR_MaRy - 18.12.2015
hi guys i want to make on hp , armour bar to have a number on it to see how much hp,armour i have , and then to hide that numbers when i want can some1 help me ?
example:
https://www.youtube.com/watch?v=pE1njdXdTY8 - watch hp,armour bar
Re: Hide hud -
UnforgiveNNN - 18.12.2015
I guess it's gta mode not plugin.
Re: Hide hud -
TwinkiDaBoss - 18.12.2015
Its 2 seconds of coding.
PHP код:
new string[64];
new Float:HP;
GetPlayerHealth(playerid,HP);
format(string, sizeof(string), "%.0f%", HP);
TextDrawSetString(myTextdraw, string);
Format the string and use TextDrawSetString, isnt that hard at all.