No se quita el sonido
#1

Hola bueno quiero saber por que no se quita el sonido cuando spawneo

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    iSpawnSet[playerid] = 0;
    SetupPlayerForClassSelection(playerid);
    PlayerPlaySound(playerid, 1187, -1370.2362,-256.3250,15.0000);
    SetupPlayerForClassSelection(playerid);
    new skin = GetPlayerSkin(playerid);
    switch (skin)
    {
        case 0,105,106,107,269,270,271,207:
        {
            GameTextForPlayer(playerid, "~g~team1",1000,6);
            gTeam[playerid] = TEAM_1;
            SetPlayerColor(playerid, TEAM_COLOR_0);
            ApplyAnimation(playerid,"SMOKING","M_smk_drag",4.0,1,1,1,1,-1);
            SetPlayerPos(playerid,2459.5,-1689.2,13.5);
            SetPlayerFacingAngle(playerid,0.5);
            SetPlayerInterior(playerid,0);
            SetPlayerCameraPos(playerid,2457.6,-1686.3,13.7);
            SetPlayerCameraLookAt(playerid,2459.5,-1689.2,13.5);

        }
Reply
#2

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
        PlayerPlaySound(playerid,1186 ,0, 0, 0);
        return 1;
}
Reply
#3

pawn Код:
public OnPlayerSpawn(playerid)
{
        PlayerPlaySound(playerid, 1188, 0.0, 0.0, 0.0);
        return 1;
}
Reply
#4

gracias
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)