SA-MP Forums Archive
Making something happen for people in a specific area - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Making something happen for people in a specific area (/showthread.php?tid=120457)



Making something happen for people in a specific area - Mattjones17 - 11.01.2010

Hi,
I'm using an audio plugin for SAMP, and I want to make it so when someone selects an input on a GUI, a sound is played in a vicinity. The function is Audio_Play, and by default it plays a sound to everyone on the server. Whilst I doubt many people have knowledge of scripting with the plugin I am sure the principle is the same and am nearly sure how to do it but not quite.

I am guessing it will be something using IsPlayerInArea, but as the function by default palys the sound globally I'm not sure.

Any help would be much appreciated
Thanks


Re: Making something happen for people in a specific area - Mattjones17 - 11.01.2010

bump.........