SA-MP Forums Archive
Textdraw - 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: Textdraw (/showthread.php?tid=585484)



Textdraw - Hemeei - 14.08.2015

how do i get the percent of this white Health Bar and Red Health Bar ??




Re: Textdraw - Scenario - 14.08.2015

GetPlayerArmour()
GetPlayerHealth()


Re: Textdraw - Hemeei - 14.08.2015

what i gonna use to draw that ??

for example in textdraw , Health : %s ? %f %d %i


Re: Textdraw - Hemeei - 14.08.2015

if im using

%i = 12201110333
%s = notin
%d = 11102920120 same %i
%f = 100.0000000

%f is 100 its correct but i want to remove .0000000 i want 100 only


Re: Textdraw - Hemeei - 14.08.2015

Nevermind i fix it by my self using %0.0f

thank you


Re: Textdraw - fordawinzz - 14.08.2015

use floatround