Quote:
Originally Posted by HY
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.