Sound doesn't stop!!
#1

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);
Reply
#2

Change the sound under OnPlayerRequestClass

PlayerPlaySound(playerid,1062,0.0,0.0,0.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)