PlayAudioStreamForPlayer
#7

Of course, that callback gets called when you switch between skins.


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


Messages In This Thread
PlayAudioStreamForPlayer - by AnonScripter - 16.10.2013, 23:44
Re: PlayAudioStreamForPlayer - by DarkLored - 16.10.2013, 23:47
Re: PlayAudioStreamForPlayer - by AnonScripter - 16.10.2013, 23:59
Re: PlayAudioStreamForPlayer - by DarkLored - 17.10.2013, 00:03
Re: PlayAudioStreamForPlayer - by AnonScripter - 17.10.2013, 00:07
Re: PlayAudioStreamForPlayer - by DarkLored - 17.10.2013, 00:11
Respuesta: PlayAudioStreamForPlayer - by [CG]Milito - 17.10.2013, 00:15
Re: PlayAudioStreamForPlayer - by AnonScripter - 17.10.2013, 00:20
Respuesta: PlayAudioStreamForPlayer - by [CG]Milito - 17.10.2013, 00:21
Re: Respuesta: PlayAudioStreamForPlayer - by AnonScripter - 17.10.2013, 00:24

Forum Jump:


Users browsing this thread: 1 Guest(s)