09.02.2009, 16:04
Quote:
Originally Posted by JoeDaDude
Instead of stairs for my interior im using elevators.
How do i make it so if the lift is moving, And someone says, /elevator 1st - To make it goto the 1st flooor, |
pawn Код:
new
Float:gElevatorFloors[ FLOORS_AMOUNT_HERE ] = { 3.0, 13.0, 23.0, 33.0, 43.0 /*and so on*/ };
//in the command (DCMD format)
MoveObject( ..................., gElevatorFloors[ strval( params ) ]..................... );