SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

Thread Tools Display Modes
Old 27/04/2010, 05:54 AM   #1
Little Clucker
Join Date: Apr 2010
Posts: 24
Reputation: 0
Default Minor Problem Please Help

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!
Typical_Cat is offline  
Old 27/04/2010, 07:52 AM   #2
-Rebel Son-
-Rebel Son-'s Avatar
Join Date: Apr 2008
Location: The south.
Posts: 1,008
Reputation: 36
Default Re: Minor Problem Please Help

where you have %f put it as %.0f
XFIRE: Dhambley || MSN: || Volunteer FireFighter/EMS, Rep me for saving lives!
-Rebel Son- is offline  
Old 27/04/2010, 08:08 AM   #3
Little Clucker
Join Date: Apr 2010
Posts: 24
Reputation: 0
Default Re: Minor Problem Please Help

thanks a LOT dude
Typical_Cat is offline  

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Very minor countdown problem [XST]O_x Help Archive 2 10/07/2010 03:58 PM
Minor problem Desert Help Archive 4 17/03/2010 06:24 PM
Payday, minor help. Perker12345 Help Archive 1 30/01/2010 03:37 AM
Minor problem with DCMD set skin command MisterTickle Help Archive 2 16/01/2010 09:51 AM
[NPC] Minor problem with my npc Pawno_Master Help Archive 5 25/10/2009 07:05 AM

All times are GMT. The time now is 07:17 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.