Automatic music in specific area
#6

pawn Код:
public OnPlayerUpdate(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid, 50, 1755.26, -1774.30, 16.39))
    {
        PlayerAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=19972",  1755.26, -1774.30, 16.39, 50, 1);
    }
    return true;
}
You should actually read up on the function. https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer
Reply


Messages In This Thread
Automatic music in specific area - by davidstyle1125 - 02.12.2014, 14:58
Re: Automatic music in specific area - by HY - 02.12.2014, 15:22
Re: Automatic music in specific area - by davidstyle1125 - 02.12.2014, 15:39
Re: Automatic music in specific area - by HY - 02.12.2014, 15:50
Re: Automatic music in specific area - by davidstyle1125 - 02.12.2014, 15:54
Re: Automatic music in specific area - by Dignity - 02.12.2014, 16:01
Re: Automatic music in specific area - by Vince - 02.12.2014, 16:20
Re: Automatic music in specific area - by davidstyle1125 - 02.12.2014, 20:48
Re: Automatic music in specific area - by davidstyle1125 - 03.12.2014, 12:45
Re: Automatic music in specific area - by Vince - 03.12.2014, 14:51

Forum Jump:


Users browsing this thread: 1 Guest(s)