Posts: 284
Threads: 58
Joined: Jul 2008
Reputation:
0
ok i have it so when you choose your skin you have
PlayerPlaySound
how do i make it so when u spawn, it
PlayerStopSound or something, stops the music
Posts: 3,262
Threads: 30
Joined: Aug 2008
Reputation:
0
Nice question, there is a specific sound.
Though it's PlayerPlaySound(playerid,soundid);
the soundid needs to be a specific sound which I don't remember its ID.
Posts: 54
Threads: 9
Joined: Mar 2009
Reputation:
0
PlayerPlaySound(playerid,1039,0, 0, 0);
Use this ^^
Posts: 54
Threads: 9
Joined: Mar 2009
Reputation:
0
forward dzwiekoff(playerid);
public dzwiekoff(playerid)
{
PlayerPlaySound(playerid,1098,0.0,0.0,0.0);
return 1;
}
+
SetTimerEx("dzwiekoff", 5000, 0, "d", playerid);
Posts: 60
Threads: 1
Joined: Mar 2009
Reputation:
0
Add 1 to the sound ID
E.G. say OnPlayerRequestClass You have this:
PlayerPlaySound(playerid,1039,0, 0, 0);
Put OnPlayerSpawn
PlayerPlaySound(playerid,1040,0, 0, 0);
Posts: 483
Threads: 5
Joined: May 2006
Reputation:
0
Just put and ID that doesn't exist like 1063 for example.