PlayerSound - Kick
#7

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;
}
Reply


Messages In This Thread
PlayerSound - Kick - by Zloto - 11.05.2015, 21:28
Re: PlayerSound - Kick - by Abagail - 11.05.2015, 21:38
Re: PlayerSound - Kick - by Zloto - 11.05.2015, 21:40
Re: PlayerSound - Kick - by JaydenJason - 11.05.2015, 21:45
Re: PlayerSound - Kick - by Zloto - 11.05.2015, 21:49
Re: PlayerSound - Kick - by MP2 - 11.05.2015, 22:20
Re: PlayerSound - Kick - by Abagail - 11.05.2015, 22:23
Re: PlayerSound - Kick - by Zloto - 11.05.2015, 22:36

Forum Jump:


Users browsing this thread: 1 Guest(s)