17.06.2009, 03:17
https://sampwiki.blast.hk/wiki/SoundID
https://sampwiki.blast.hk/wiki/PlayerPlaySound
Note: the coords of the PlayerPlayerSound function don't really matter, you can heard the sound from almost anywhere.
Also, if you're doing it in the OnPlayerRequestClass callback, in the OnPlayerSpawn callback add the same line in the request class callback, but add a '-' before the soundid, basically making it negative. That will stop the sound from playing.
https://sampwiki.blast.hk/wiki/PlayerPlaySound
Note: the coords of the PlayerPlayerSound function don't really matter, you can heard the sound from almost anywhere.
Also, if you're doing it in the OnPlayerRequestClass callback, in the OnPlayerSpawn callback add the same line in the request class callback, but add a '-' before the soundid, basically making it negative. That will stop the sound from playing.