Audio stream 3D position - noises
#2

Try (in callback OnPlayerUpdate):

Код:
    if(IsPlayerInRangeOfPoint(playerid,75.0,819.6044,-1354.2113,24.3107))
    {
            if(!GetPVarInt(playerid,"stream"))
            {
                SetPVarInt(playerid,"stream",1);
                PlayAudioStreamForPlayer(playerid, link,819.6044,-1354.2113,24.3107,75.0, 1);
            }
    }
    else
    {
        if(GetPVarInt(playerid,"stream"))
        {
            DeletePVar(playerid,"stream");
            StopAudioStreamForPlayer(playerid);
        }
    }
Reply


Messages In This Thread
Audio stream 3D position - noises - by KubiPL - 26.06.2014, 11:00
Re: Audio stream 3D position - noises - by Andrew_Yuston - 26.06.2014, 17:04
Re: Audio stream 3D position - noises - by KubiPL - 26.06.2014, 17:23
Re: Audio stream 3D position - noises - by Andrew_Yuston - 26.06.2014, 18:32
Re: Audio stream 3D position - noises - by KubiPL - 27.06.2014, 09:25
Re: Audio stream 3D position - noises - by Andrew_Yuston - 27.06.2014, 15:35
Respuesta: Audio stream 3D position - noises - by adri1 - 27.06.2014, 18:39
Re: Audio stream 3D position - noises - by KubiPL - 28.06.2014, 13:01
Respuesta: Audio stream 3D position - noises - by adri1 - 28.06.2014, 13:16
Re: Audio stream 3D position - noises - by Rdx - 04.07.2014, 13:56

Forum Jump:


Users browsing this thread: 1 Guest(s)