flot : text
#1

pawn Код:
GetPlayerHealth(killerid,killhealth);
                    GetPlayerArmour(killerid,killarmor);
                    new out[256];
                    format(out,256,"%s Slaughtered %s | Health - %f , Armor - %f",killername,playername,killhealth,killarmor);
                    TextDrawSetString(TextdrawB,out);
okay so the output i get is

A slaugtered B | Health = 100.0000000 Armour = 50.00000000000


how do i get rid of the 0000000 only 2 0 is enough
Reply


Messages In This Thread
flot : text - by spd_sahil - 10.01.2012, 16:34
Re: flot : text - by Jochemd - 10.01.2012, 16:39
Re: flot : text - by spd_sahil - 10.01.2012, 16:43
Re: flot : text - by Jochemd - 10.01.2012, 16:45

Forum Jump:


Users browsing this thread: 1 Guest(s)