You Know The Music Before You Spawn? Of Course You Do!
#1

You Know The Music Before You Spawn? Of Course You Do!

- Where/what does the line look like where you can change the sound ID or whatever to play the music before your spawned. I would like to experiment with them
Reply
#2

It's not the same on every script, but look for PlayerPlaySound(...);
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)