25.06.2012, 16:47
Quote:
I knew the function required a string, I had exact the same code as JaTochNietDan, but when i did that it just screwed up more..
it displayed a very high amount, even though the max amount it can have is 100... It showed like 1065 or something.. I will try it again, and I hope it solves my problem |
pawn Код:
format(string, sizeof(string), "%.2f", Fuel[vehicleid]/4.0);