Simple Maths
#4

Quote:
Originally Posted by MP2
Посмотреть сообщение
The parameter is the amount of time it should take to complete the move. I still don't understand though, could you give me an example?
pawn Код:
new Float:Distance = GetDistanceBetweenPoints();
new const TimeForUnit = 500;
new Time = floatround(TimeForUnit*Distance);
I don't know how to explain more simply than that.
Reply


Messages In This Thread
Simple Maths - by MP2 - 08.03.2012, 13:39
Re: Simple Maths - by wups - 08.03.2012, 14:23
Re: Simple Maths - by MP2 - 08.03.2012, 14:51
Re: Simple Maths - by wups - 08.03.2012, 15:02
Re: Simple Maths - by MP2 - 08.03.2012, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)