How to place music in specific area?
#6

Quote:
Originally Posted by HY
View Post
pawn Code:
CMD:example(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, Range, X, Y, Z))
    {
        PlayAudioStreamForPlayer(playerid, "URL Link");
    }
    else
    {
        SendClientMessage(playerid, -1, "You aren't in Range of Point !");
    }
    return 1;
}
If they leave the area,after the stream starts they will still hear it.
Reply


Messages In This Thread
How to place music in specific area? - by davidstyle1125 - 17.11.2014, 13:02
Re: How to place music in specific area? - by RajatPawar - 17.11.2014, 13:03
Re: How to place music in specific area? - by OsteeN - 17.11.2014, 13:03
Re: How to place music in specific area? - by HY - 17.11.2014, 13:53
Re: How to place music in specific area? - by OsteeN - 17.11.2014, 15:28
Re: How to place music in specific area? - by DavidBilla - 17.11.2014, 15:31
Re: How to place music in specific area? - by Cheesus - 17.11.2014, 15:33
Re: How to place music in specific area? - by HY - 17.11.2014, 15:33
Re: How to place music in specific area? - by Vince - 17.11.2014, 16:23

Forum Jump:


Users browsing this thread: 2 Guest(s)