SA-MP Forums Archive
How to add Music - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to add Music (/showthread.php?tid=69866)



How to add Music - djdanni - 21.03.2009

Hi i am tryign to add this
pawn Код:
PlayerPlaySound(playerid, 1097, 0.0, 0.0, 0.0);
when user's select a Player ID. How and where dose it gose?


Re: How to add Music - ICECOLDKILLAK8 - 21.03.2009

OnPlayerRequestClass


Re: How to add Music - Metorea - 21.03.2009

You mean of RequestClass?

'So OnPlayerRequestClass' ?




Re: How to add Music - ICECOLDKILLAK8 - 21.03.2009

Quote:
Originally Posted by Metorea
You mean of RequestClass?

'So OnPlayerRequestClass' ?
I already said that 0.o


Re: How to add Music - Metorea - 21.03.2009

Quote:
Originally Posted by JeNkStAX
Quote:
Originally Posted by Metorea
You mean of RequestClass?

'So OnPlayerRequestClass' ?
I already said that 0.o
you posted like 1 second before me and to cancel its OnPlayerSpawn then Just Samesoundid+1


Re: How to add Music - djdanni - 21.03.2009

I put it under OnPlayerRequestClass and that woork.
Strance when i have selsect it keeps on playing
Is there somthang i need to add?


Re: How to add Music - Klutty - 21.03.2009

Quote:
Originally Posted by djdanni
I put it under OnPlayerRequestClass and that woork.
Strance when i have selsect it keeps on playing
Is there somthang i need to add?
Yeah, same question here.


Re: How to add Music - Metorea - 21.03.2009

Under OnPlayerSpawn Put PlayerPlaySound(playerid, 1098, 0.0, 0.0, 0.0);

You jsut add +1 to the sound you were playing


Re: How to add Music - djdanni - 21.03.2009

ok it woork now