PlayAudioStream (OnPlayerRequestClass) Problem!
#3

Quote:
Originally Posted by jlalt
Посмотреть сообщение
Use a var and set it to 1 when runned song and check if its 0 before running song...
PHP код:
new runned_song[MAX_PLAYERS char]; // at top
// on p connect
runned_song{playerid} = 0;
//on req class
if(runned_song{playerid} == 0)
{
    
Run song
    runned_song
{playerid} = 1;
}
//on spawn
runned_song{playerid} = 0
Hope you got it. I can not explain well as I am on phone now.
Thanks Very Much it works
Reply


Messages In This Thread
PlayAudioStream (OnPlayerRequestClass) Problem! - by adri[4]Life - 22.02.2017, 11:38
Re: PlayAudioStream (OnPlayerRequestClass) Problem! - by jlalt - 22.02.2017, 11:43
Re: PlayAudioStream (OnPlayerRequestClass) Problem! - by adri[4]Life - 22.02.2017, 11:59

Forum Jump:


Users browsing this thread: 1 Guest(s)