[AJUDA] Fundo sonoro
#10

Mesmo cуdigo do DraKiNs
pawn Код:
// ongamemode init

SetTimer("ChecarSom",2000,true);

// final gm
forward ChecarSom();
public ChecarSom()
{
    for(new i; i < MAX_PLAYERS ; i++){
        if(IsPlayerInRangeOfPoint(i,10.0,x,y,z)) // coordenadas ,10.0 = distancia
        {
            PlayerPlaySound(playerid,1130, 0.0, 0.0, 10.0); //coordenadas
        }
        else{
            PlayerPlaySound(playerid,1063,0.0,0.0,0.0); //aqui farб com que o som pare ou pelo menos fique mudo
        }
        }
    return true;
}
Nгo sei se vai funcionar como vocк quer..Mas tenta ai para ver
Reply


Messages In This Thread
[AJUDA] Fundo sonoro - by Magnus' - 14.11.2010, 14:57
Respuesta: [AJUDA] Fundo sonoro - by BiieL - 14.11.2010, 15:09
Re: Respuesta: [AJUDA] Fundo sonoro - by Magnus' - 14.11.2010, 15:18
Re: [AJUDA] Fundo sonoro - by ipsBruno - 14.11.2010, 15:19
Respuesta: [AJUDA] Fundo sonoro - by BiieL - 14.11.2010, 15:26
Re: [AJUDA] Fundo sonoro - by Magnus' - 14.11.2010, 15:43
Respuesta: [AJUDA] Fundo sonoro - by BiieL - 14.11.2010, 15:48
Re: [AJUDA] Fundo sonoro - by jonas_gabriel - 14.11.2010, 15:48
Re: [AJUDA] Fundo sonoro - by Magnus' - 14.11.2010, 16:00
Re: [AJUDA] Fundo sonoro - by [FeK]Falcon_Sixe - 14.11.2010, 16:28

Forum Jump:


Users browsing this thread: 1 Guest(s)