Radio Station Problem
#3

Here you just idea/start of that you are asking for

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER) // Player entered a vehicle as passanger (he is already enter it)
    {
        new rand = random(souce); // change 'source' wich your music list array or other thing that you have wich will random select one of them
        PlayAudioStreamForPlayer(playerid,rand,.......);
    }
    return 1;
}
Reply


Messages In This Thread
Radio Station Problem - by Akcent_Voltaj - 03.10.2012, 18:08
Re: Radio Station Problem - by Red_Dragon. - 03.10.2012, 18:12
Re: Radio Station Problem - by doreto - 03.10.2012, 18:18
Re: Radio Station Problem - by Akcent_Voltaj - 03.10.2012, 18:22
Re: Radio Station Problem - by doreto - 03.10.2012, 18:32

Forum Jump:


Users browsing this thread: 2 Guest(s)