08.04.2015, 12:18
Yes it is possible,what are you using to remove the player from vehicle?are you using RemovePlayerFromVehicle?if yes then use:
because OnPlayerEnterVehicle gets called when he presses on F or Enter
Or you can use:
pawn Код:
ClearAnimations(playerid);
Or you can use:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER && GetVehicleModel(GetPlayerVehicleID(playerid)) == put here bike model id)
{
RemovePlayerFromVehicle(playerid);
}
return 1;
}