Custom Sounds
#2

Hmm, I am not sure what you can do for this, but here is a rough coding scenario.

A player escapes, check the players position, or simple use playertopoint.

When that player is at that point, or their position is there, where you checked (GetPlayerPos / PlayerToPoint), play the sound, and send an alert to all online cops, and some players, if you want: (Create a loop for both the cops, and players if you want. PlayerPlaySound(loop, sound), SendClientMessage).

Good luck.

For more information..

Key points:

https://sampwiki.blast.hk/wiki/PlayerPlaySound <- for sounds
https://sampwiki.blast.hk/wiki/SoundID <- will help alot with finding the right sound

https://sampwiki.blast.hk/wiki/GetPlayerPos <- will help get the players position
Any more information can be found at http://wiki.sa-mp.com Just search.
Reply


Messages In This Thread
Custom Sounds - by Christopher Mooney - 17.03.2010, 14:17
Re: Custom Sounds - by Hiitch - 17.03.2010, 14:39
Re: Custom Sounds - by Correlli - 17.03.2010, 14:40

Forum Jump:


Users browsing this thread: 1 Guest(s)