OnPlayerEnterVehicle [Question]
#3

Yes it is possible,what are you using to remove the player from vehicle?are you using RemovePlayerFromVehicle?if yes then use:
pawn Код:
ClearAnimations(playerid);
because OnPlayerEnterVehicle gets called when he presses on F or Enter
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;
}
Reply


Messages In This Thread
OnPlayerEnterVehicle [Question] - by Prokill911 - 08.04.2015, 12:13
Re: OnPlayerEnterVehicle [Question] - by Konstantinos - 08.04.2015, 12:16
Re: OnPlayerEnterVehicle [Question] - by R0 - 08.04.2015, 12:18
AW: OnPlayerEnterVehicle [Question] - by Mencent - 08.04.2015, 12:23

Forum Jump:


Users browsing this thread: 2 Guest(s)