01.02.2012, 12:19
Hi.
I've got a small mathematical thing in my script, but of some reason it doesn't work as I want it to.
final_speed_int works perfectly, showing the speed of the vehicle.
However, newfloat just shows 0.000000
Why does it do that?
Any solutions?
I've got a small mathematical thing in my script, but of some reason it doesn't work as I want it to.
pawn Код:
new Float:newfloat;
newfloat = ( final_speed_int / 3600 ) * 2;
However, newfloat just shows 0.000000
Why does it do that?
Any solutions?