SA-MP Forums Archive
Minor Problem Please Help - 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: Minor Problem Please Help (/showthread.php?tid=144405)



Minor Problem Please Help - Typical_Cat - 27.04.2010

Hey guys i made a textdraw to show a players health, and it works perfectly, except ur health has a bunch of 0's by it
for example, if your health is 63 it will say 63.00000 or 45 would be 45.0000, How would i get rid of the 0's? i know its possible cuz i seen it done before, thanks guys!


Re: Minor Problem Please Help - -Rebel Son- - 27.04.2010

where you have %f put it as %.0f


Re: Minor Problem Please Help - Typical_Cat - 27.04.2010

thanks a LOT dude