SA-MP Forums Archive
PlayerPlaySound for everyone in area - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: PlayerPlaySound for everyone in area (/showthread.php?tid=315942)



PlayerPlaySound for everyone in area - jtemple042996 - 04.02.2012

I want to make this sound so that everyone in the area can here it, also i want to make it stop after a minute:

Quote:

PlayerPlaySound(6001, -1174.9890136719, -986.79998779297, 131.89999389648);




Re: PlayerPlaySound for everyone in area - Guest9328472398472 - 04.02.2012

Look at this and see if you find anything.


Re: PlayerPlaySound for everyone in area - jtemple042996 - 04.02.2012

Well, that didnt really help.

I tried doing

Quote:

if(IsPlayerInRangeOfPoint(playerid, 10.0, -1176.3668,-987.4116,129.2787,256.3223)) {PlayerPlaySound(6001, -1174.9890136719, -986.79998779297, 131.89999389648);}

and it didnt work anyone got any ideas?