Sound doesn't stop!! - 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: Sound doesn't stop!! (
/showthread.php?tid=273590)
Sound doesn't stop!! -
samtey - 02.08.2011
My sound doesn't stop anymore!
Код:
public OnPlayerRequestClass(playerid, classid) {
PlayerPlaySound(playerid, 1183, 0.0, 0.0, 0.0);
Код:
public OnPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
ForceClassSelection(playerid);
SendClientMessageToAll(COLOR_RED,"Welcome back, Master!");
return true;
}
else if(gFirstTimeHasJoined[playerid])
{
ForceClassSelection(playerid);
SpawnPlayer(playerid);
SendClientMessage(playerid,COLOR_RED,"Choose your skin carefully! You can't change it anymore after this!");
return true;
}
else if(gPlayerSkinForEver[playerid])
{
GetPlayerSkin(playerid);
SendClientMessage(playerid,COLOR_RED,"You are already in a gang!");
}
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0);
Re: Sound doesn't stop!! -
sleepysnowflake - 02.08.2011
Change the sound under OnPlayerRequestClass
PlayerPlaySound(playerid,1062,0.0,0.0,0.0);