Per cent calculation
#10

Hi all,

I was wandering if you can calculate the time of a Timer. If so I could create timers that calculate how long they have to roll depending on what FloorLevel you are and which FloorLevel you want to go to. I haven't figured out the correct formula to calculate this but is it possible? Because then you can use one timer with variable that change the duration of the timer.

Quote:

if(floor == 0 || FloorLevel != 0)
{
SendClientMessage( playerid, WHITE, "You selected the Ground Floor" );
MoveDynamicObject(Elevator, 1786.678100, -1303.459472, 14.551476, 10);
ElevatorState = ELEVATOR_STATE_MOVING;
SetTimer("Floor0", [Calculation], 0);
return 1;
}

Reply


Messages In This Thread
Per cent calculation - by Coicatak - 19.12.2009, 17:33
Re: Per cent calculation - by BeckzyBoi - 19.12.2009, 17:35
Re: Per cent calculation - by Joe Staff - 19.12.2009, 18:28
Re: Per cent calculation - by Coicatak - 19.12.2009, 18:44
Re: Per cent calculation - by Coicatak - 19.12.2009, 22:20
Re: Per cent calculation - by Coicatak - 19.12.2009, 22:45
Re: Per cent calculation - by DiddyBop - 19.12.2009, 23:43
Re: Per cent calculation - by Joe Staff - 20.12.2009, 00:46
Re: Per cent calculation - by Balon - 20.12.2009, 08:39
Re: Per cent calculation - by 1D10T - 24.01.2011, 14:40

Forum Jump:


Users browsing this thread: 3 Guest(s)