Escaping from the vehicle
#2

pawn Код:
new bool: isPlayerCuffed[ MAX_PLAYERS ];

stock ChangeCuffStatus( playerid )
{
   isPlayerCuffed[ playerid ] = !isPlayerCuffed[ playerid ];
}

public OnPlayerExitVehicle / OnPlayerStateChange( ... )
{
     if( isPlayerCuffed[ playerid ] )
     {
           PutPlayerInVehicle(playerid, vehicleid, GetPlayerVehicleSeat( playerid ));
     }
 return 1;
}
Reply


Messages In This Thread
Escaping from the vehicle - by Lusan - 23.08.2013, 11:25
Re: Escaping from the vehicle - by RajatPawar - 23.08.2013, 11:56
Re: Escaping from the vehicle - by Lusan - 23.08.2013, 11:58
Re: Escaping from the vehicle - by Dragonsaurus - 23.08.2013, 12:00
Re: Escaping from the vehicle - by Lusan - 23.08.2013, 12:05
Re: Escaping from the vehicle - by Dragonsaurus - 23.08.2013, 12:07
Re: Escaping from the vehicle - by Lusan - 23.08.2013, 12:09

Forum Jump:


Users browsing this thread: 1 Guest(s)