24.01.2011, 14:40
(
Последний раз редактировалось 1D10T; 24.01.2011 в 16:56.
Причина: We got the original lselevator working.
)
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.
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; } |