08.09.2009, 19:29
Just add the sound you want under OnPlayerRequestSpawn
And then
Adding a slap sound at spawn will stop the music sound ... Try it
Credits to SAMP Wiki
pawn Код:
public OnPlayerRequestClass(playerid,classid)
PlayerPlayerSOund9playerid,soundid,0.0,0.0,0.0);//The sound that you want to play
pawn Код:
public OnPlayerSpawn(playerid)
PlayPlayerSOund(playerid,soundid,0.0,0.0,0.0); //a blank sound , any sound id or maybe a slap sound
Credits to SAMP Wiki