Music at gameplay?
#5

Quote:
Originally Posted by Peter Corneile
Just add the sound you want under OnPlayerRequestSpawn


pawn Код:
public OnPlayerRequestClass(playerid,classid)
PlayerPlayerSOund9playerid,soundid,0.0,0.0,0.0);//The sound that you want to play
And then
pawn Код:
public OnPlayerSpawn(playerid)
PlayPlayerSOund(playerid,soundid,0.0,0.0,0.0); //a blank sound , any sound id or maybe a slap sound
Adding a slap sound at spawn will stop the music sound ... Try it
Credits to SAMP Wiki
also thanx. i tryed it, and it works! ^^
Reply


Messages In This Thread
Music at gameplay? - by -.- Haha -.- - 08.09.2009, 18:31
Re: Music at gameplay? - by Clavius - 08.09.2009, 18:52
Re: Music at gameplay? - by -.- Haha -.- - 08.09.2009, 19:02
Re: Music at gameplay? - by Peter_Corneile - 08.09.2009, 19:29
Re: Music at gameplay? - by -.- Haha -.- - 09.09.2009, 15:12
Re: Music at gameplay? - by Peter_Corneile - 09.09.2009, 15:25
Re: Music at gameplay? - by buster_ - 09.01.2011, 14:06

Forum Jump:


Users browsing this thread: 1 Guest(s)