17.10.2013, 00:15
Of course, that callback gets called when you switch between skins.
Try using OnPlayerConnect callback and stop the music when the player spawns
Try using OnPlayerConnect callback and stop the music when the player spawns
pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
PlayAudioStreamForPlayer(playerid,blablablabla);
return 1;
}
public OnPlayerSpawn(playerid)
{
StopAudioStreamForPlayer(playerid);
return 1;
}