08.12.2009, 19:13 
	
	
	
		How i do that when the player is not turn off engine can drive all players with it
	
	
	
	
| 
					Originally Posted by [WsR RyDeR ] what? explain more .. | 
| 
					Originally Posted by lrZ^ aka LarzI  make a toggle command? | 
| 
					Originally Posted by lrZ^ aka LarzI  Explain exactly what you want. If you're not english-speaking, try using a translator so we can understand better. | 
new Engine[MAX_VEHICLES];
Engine[vehicleid] = 1;
Engine[vehicleid] = 0;
if(Engine[vehicleid] == 0) //Vehicle Engine is off
{
//Do what ever you want like freeze the player if the engine is off, so the player cannot just drive away
}
else
{
//If the vehicle is on, do something here:
}
new vehicleid = GetPlayerVehicleID(playerid);
 
	