Math problem
#5

pawn Код:
new Float:speed = GetVSpeed(playerid); //Float
new Float:newdist = speed / 3600.0;
Also put 3600.0 as float.
To prevent warnings about tag mismatches and to be certain you're dividing a float by a float.
Reply


Messages In This Thread
Math problem - by Redirect Left - 21.01.2014, 03:10
Re: Math problem - by SickAttack - 21.01.2014, 04:13
Re: Math problem - by ProjectMan - 21.01.2014, 05:17
Re: Math problem - by Ballu Miaa - 21.01.2014, 06:00
Re: Math problem - by PowerPC603 - 21.01.2014, 06:05
Re: Math problem - by Redirect Left - 21.01.2014, 11:45

Forum Jump:


Users browsing this thread: 2 Guest(s)