How to place music in specific area?
#5

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;
}
I was thinking of telling him to use IsPlayerInRangeOFPoint, but appearently PlayAudioStreamForPlayer has the option to choose which coords to stream within.
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: 3 Guest(s)