11.01.2010, 14:48
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
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