16.01.2013, 07:11
Quote:
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { // If the player exits a vehicle if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER) { StopAudioStreamForPlayer(playerid); // Stop the audio stream } return 1; } |