[Ajuda] Musica Dentro Da Hq Aztecas - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Musica Dentro Da Hq Aztecas (
/showthread.php?tid=484620)
Musica Dentro Da Hq Aztecas -
xTuNinG - 31.12.2013
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);
}