[DUV]Como usar uma musica enquanto o player escolhe a skin???
#1

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

PlayerPlaySound
Reply
#3

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
Reply
#4

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

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...
Reply
#6

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

Tenta usar isso /\

No OnPlayerSpawn, por exemplo...
Reply
#7

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


Forum Jump:


Users browsing this thread: 1 Guest(s)