Sonido
#10

Quote:
Originally Posted by Metzone
Посмотреть сообщение
їComo un timer? osea, como le pongo un timer al sonido?
Asн, un ejemplo:

pawn Код:
new Timer_Telefono[MAX_PLAYERS];//variable global
//dentro de alguna funcion/nes.______
PlayerPlaySound(playerid,20600, 0.0,0.0,0.0);//el sonido que dijo contakon
Timer_Telefono[playerid] = SetTimerEx("Reproducir", 1000, true, "i", playerid);
//_____________________________
stock Reproducir(playerid){return PlayerPlaySound(playerid,20600, 0.0,0.0,0.0);}

//Cuando lo quieras parar usa:
KillTimer(Timer_Telefono[playerid]);
Si hay algъn error, disculpa.
Reply


Messages In This Thread
Sonido - by Metzone - 10.11.2014, 16:33
Respuesta: Sonido - by Fluid016 - 10.11.2014, 17:12
Respuesta: Sonido - by jotajeda - 10.11.2014, 17:59
Respuesta: Sonido - by OTACON - 10.11.2014, 20:32
Re: Sonido - by meta1 - 10.11.2014, 20:39
Respuesta: Sonido - by OTACON - 10.11.2014, 20:46
Re: Sonido - by Metzone - 13.11.2014, 15:03
Respuesta: Re: Sonido - by jotajeda - 13.11.2014, 15:16
Re: Sonido - by Metzone - 13.11.2014, 15:25
Respuesta: Re: Sonido - by jotajeda - 13.11.2014, 15:41

Forum Jump:


Users browsing this thread: 1 Guest(s)