[Ajuda] Musica Dentro Da Hq Aztecas
#1

tipo Coloquei A Musica Quando Agente Entra na Hq Comeзa a tocar Mais Quando Agente Sai da HQ A Musica Continua Tocando e Nгo Para

Quando Entra:
pawn Код:
else if(PlayerToPoint(3.0, playerid,903.7482,-918.5418,42.6075))
            {//ENTRADA HQ AZTECAS
                GameTextForPlayer(playerid, "~w~HQ Los Aztecas", 5000, 1);
                PlayAudioStreamForPlayer(playerid, "https://sites.******.com/site/brasilplaystark/aztecas.mp3");
                SetPlayerInterior(playerid, 8);
                SetPlayerPos(playerid,2807.8213,-1173.5691,1025.5703);
                PlayerInfo[playerid][pInt] = 8;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
Quando Sai:
pawn Код:
else if(PlayerToPoint(3.0, playerid,2807.8213,-1173.5691,1025.5703))
            {//SAIDA HQ AZTECAS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,903.7482,-918.5418,42.6075);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
                StopAudioStreamForPlayer(playerid);
            }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)