How to convert Float into value
#1

how to convert Float into value like:

100.0000 into 100

coz i made a textdraw that shows health value so i tried %s %d %i and it didn't helped me

Any help please?
Reply
#2

pawn Код:
%.0f
Either that, or use floatround.
Reply
#3

Look for function floatround
Reply
#4

Thank you all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)