27.12.2010, 06:38
pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_ENTER_VEHICLE_DRIVER)
{
print("Player enters vehicle as driver");
}
//alternatively you can use
OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
//and
OnPlayerExitVehicle(playerid,vehicleid,ispassenger)