[Ajuda]Som na entrada
#1

coloquei esse playerplaysound, mais o barulho dele й tipo quando voce ta fazendo missгo e chega em um Checkpoint alguem poderia me dizer alguns que tem musicas mais longas no estilo suspense algo do gкnero.

pawn Код:
PlayerPlaySound(playerid, 1056, 1481.000,-1779.000,157.000);
Reply
#2

https://sampwiki.blast.hk/wiki/SoundID
Aconselho a entrar no site acima, onde vai encontrar todos os ID's de som do OnPlayerSound.
OBS.:A primeira lista funciona apenas na versгo 0.3D! Vб atй a de baixo para ver.
Depois procure algum nome que te chame atenзгo e vб testando...

Boa Sorte (:
Reply
#3

SA-MP Script King » Sу ir na aba sounds, e clicar encima do que quer que ele irб executar (senгo engano).
Reply
#4

Obrigado pela ajuda nos ids dos soms
agora to com um poblema quando eu coloco a musica seleciono o personagem e aperto Select a musica nгo para

pawn Код:
PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);
Reply
#5

Код:
if(strcmp(cmdtext, "/stop", true) == 0) {
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X, Y, Z);
PlayerPlaySound(playerid,1063,X,Y,Z);
PlayerPlaySound(playerid,1069,X,Y,Z);
PlayerPlaySound(playerid,1077,X,Y,Z);
PlayerPlaySound(playerid,1098,X,Y,Z);
PlayerPlaySound(playerid,1184,X,Y,Z);
PlayerPlaySound(playerid,1186,X,Y,Z);
PlayerPlaySound(playerid,1188,X,Y,Z);
} else {
SendClientMessage(playerid, Vermelho,"{00FF00}[INFO]{778899} Vocк deu stop na musica!.");
}
return 1;
}
Reply
#6

Para parar use:

pawn Код:
PlayerPlaySound(playerid, 1130, 0.0, 0.0, 10.0);
Reply
#7

Quote:
Originally Posted by [LF]PlaYer
Посмотреть сообщение
pawn Код:
if(strcmp(cmdtext, "/stop", true) == 0) {
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X, Y, Z);
PlayerPlaySound(playerid,1063,X,Y,Z);
PlayerPlaySound(playerid,1069,X,Y,Z);
PlayerPlaySound(playerid,1077,X,Y,Z);
PlayerPlaySound(playerid,1098,X,Y,Z);
PlayerPlaySound(playerid,1184,X,Y,Z);
PlayerPlaySound(playerid,1186,X,Y,Z);
PlayerPlaySound(playerid,1188,X,Y,Z);
} else {
SendClientMessage(playerid, Vermelho,"{00FF00}[INFO]{778899} Vocк nгo tem um Ipod para dar stop.");
}
return 1;
}
WTF?
Reply
#8

Quote:
Originally Posted by Los
Посмотреть сообщение
WTF?

No meu game mode eu paro a musica assim e funciona .-.
Reply
#9

Bastava usar:

pawn Код:
PlayerPlaySound(playerid, 1130, 0.0, 0.0, 10.0);
Olhe:

https://sampwiki.blast.hk/wiki/PlayerPlaySound
Reply
#10

Lуs
eu coloco isso na linha de baixo doque eu postei?
pawn Код:
PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);
PlayerPlaySound(playerid, 1130, 0.0, 0.0, 10.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)