help ratio
#1

solved by lorenc__
Reply
#2

Not sure exactly, but try
pawn Код:
new Float:ratio = kills[playerid] / death[playerid];
format(rstring, sizeof(rstring), "Ratio : %0.2f", ratio );
Reply
#3

%.2f
Reply
#4

still cant.....
if i have kill or dead more than 0
ratio will "1"
Reply
#5

pawn Код:
floatdiv(kills[playerid], death[playerid])
Try using floatdiv aka Float Divide
Reply
#6

Quote:
Originally Posted by varthshenon
Посмотреть сообщение
%.2f
Have you tried this?
Reply
#7

Quote:
Originally Posted by varthshenon
Посмотреть сообщение
Have you tried this?
Код:
This forum requires that you wait 120 seconds between posts. Please try again in 18 seconds.
yes still not works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)