11.05.2015, 22:23
Also he doesn't want ClearAnimations, he want's the animation of someone leaving the vehicle which is RemovePlayerFromVehicle. e.g:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate) {
if(newstate == PLAYER_STATE_DRIVER && G_iAccess[GetPlayerVehicleID(playerid)] == 0) {
RemovePlayerFromVehicle(playerid);
PlayerPlaySound(playerid, 24600, 0.0, 0.0, 0);
}
return 1;
}