SA-MP Forums Archive
PlayerPlaySound help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: PlayerPlaySound help (/showthread.php?tid=395073)



PlayerPlaySound help - goviscrap - 25.11.2012

I have made up my own Bank Rob System but i have a Question about "PlayerPlaySound"..
Can i make so a specific sound player in a range of lets say 50 metres and everyone near that will hear that sound?
With useing this code: PlayerPlaySound(playerid, 1130, 0.0, 0.0, 10.0);? OR is it just for "Player"?


Re: PlayerPlaySound help - XtremeR - 25.11.2012

use IsPlayerInRangeOfPoint..


Re: PlayerPlaySound help - goviscrap - 25.11.2012

How to?


Re: PlayerPlaySound help - XtremeR - 25.11.2012

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
this will help