16.01.2013, 07:08
Код:
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;
}

