SA-MP Forums Archive
[DUV]Como usar uma musica enquanto o player escolhe a skin??? - 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: [DUV]Como usar uma musica enquanto o player escolhe a skin??? (/showthread.php?tid=278026)



[DUV]Como usar uma musica enquanto o player escolhe a skin??? - Eternal_Galaxy - 20.08.2011

Tenho essa duvida,por exemplo,player entra,player vai escolher a skin e ele/a ouve um som defenido do GTASA


Re: [DUV]Como usar uma musica enquanto o player escolhe a skin??? - Shadoww5 - 20.08.2011

PlayerPlaySound


Re: [DUV]Como usar uma musica enquanto o player escolhe a skin??? - StrondA_ - 20.08.2011

Vб na plublic:

SetupPlayerForClassSelection(playerid)

E adicione:
PlayerPlaySound(playerid,1097, 0.0, 0.0, 0.0);

1097 - ID Musica, x,y,z, cordenada
existem 7 sons.
ID: 1068,1062,1076,1097,1183,1185,1187.
espero ter ajudado


Re: [DUV]Como usar uma musica enquanto o player escolhe a skin??? - Lipe_Stronda - 20.08.2011

Seria bom um tipo de botao mostrando o id e a musica ;z


Re: [DUV]Como usar uma musica enquanto o player escolhe a skin??? - Eternal_Galaxy - 20.08.2011

Quote:
Originally Posted by Stronda_Novato
Посмотреть сообщение
Vб na plublic:

SetupPlayerForClassSelection(playerid)

E adicione:
PlayerPlaySound(playerid,1097, 0.0, 0.0, 0.0);

1097 - ID Musica, x,y,z, cordenada
existem 7 sons.
ID: 1068,1062,1076,1097,1183,1185,1187.
espero ter ajudado
Vo testar,depois dou um Edit.

EDIT:Funciona,mas deparei-me com outro problema:depois de spawnar o som nгo para de tocar...


Re: [DUV]Como usar uma musica enquanto o player escolhe a skin??? - Douglas_prt - 20.08.2011

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

Tenta usar isso /\

No OnPlayerSpawn, por exemplo...


Re: [DUV]Como usar uma musica enquanto o player escolhe a skin??? - MaGnO_357 - 20.08.2011

NO OnPlayerSpawn
pawn Код:
PlayerPlaySound(playerid,1098, 0.0, 0.0, 0.0); //PARA DESLIGAR O SOM QUANDO O PLAYER DA SPAWN