PlayAudioStream help here
#1

I have create a boombox, but everyone hear this, how can i make so only when them are near the boombox hear the music?

code
pawn Код:
new Float:x, Float:y, Float:z,Float:distance = 3.0;
                        GetPlayerPos(playerid,x,y,z);
                        if(IsPlayerInRangeOfPoint(i,3.0,x,y,z))
                        PlayAudioStreamForPlayer(i,"http://k003.kiwi6.com/hotlink/5hg5uq0p9u/mange_makers_mange_bjuder_official_video.mp3",x,y,z,distance,0);
Reply


Messages In This Thread
PlayAudioStream help here - by N0FeaR - 24.04.2012, 12:02
Re: PlayAudioStream help here - by RollTi - 24.04.2012, 12:04
Re: PlayAudioStream help here - by N0FeaR - 24.04.2012, 12:09
Re: PlayAudioStream help here - by RollTi - 24.04.2012, 12:16
Re: PlayAudioStream help here - by N0FeaR - 24.04.2012, 12:36

Forum Jump:


Users browsing this thread: 1 Guest(s)