LAST QUESTION! HELP PLEASSE
#2

Pleasse help?


Код:
SendAudioToRange(audioid, volume, seek, Float:x, Float:y, Float:z, Float:range)
{
	if(audiohandleglobal >= 99)
	{
	    audiohandleglobal = 0;
	}
	else
	{
	    audiohandleglobal++;
	}

	foreach(Player, i)
	{
	    if(IsPlayerConnected(i))
	    {
			if(Audio_IsClientConnected(i))
			{
                if(IsPlayerInRangeOfPoint(i,range,x,y,z))
                {
                    new localhandle = Audio_Play(i,audioid,false,false,false);
					Audio_Set3DPosition(i, localhandle, x, y, z, range);
					Audio_SetVolume(i, localhandle, volume);
					Audio_SetPosition(i, localhandle, seek);
     				audiohandle[i][audiohandleglobal] = localhandle;
                }
			}
	    }
	}
	return audiohandleglobal;
}

stock SendAudioURLToRange(url[], volume, seek, Float:x, Float:y, Float:z, Float:range)
{
    if(audiohandleglobal >= 99)
	{
	    audiohandleglobal = 0;
	}
	else
	{
	    audiohandleglobal++;
	}
	foreach(Player, i)
	{
	    if(IsPlayerConnected(i))
	    {
			if(Audio_IsClientConnected(i))
			{
                if(IsPlayerInRangeOfPoint(i,range,x,y,z))
                {
                    new localhandle = Audio_PlayStreamed(i,url,false,false,false);
					Audio_Set3DPosition(i, localhandle, x, y, z, range);
					Audio_SetVolume(i, localhandle, volume);
					Audio_SetPosition(i, localhandle, seek);
     				audiohandle[i][audiohandleglobal] = localhandle;
                }
			}
	    }
	}
	return audiohandleglobal;
}
Reply


Messages In This Thread
LAST QUESTION! HELP PLEASSE - by Lisaax - 04.01.2013, 18:40
Re: LAST QUESTION! HELP PLEASSE - by Lisaax - 04.01.2013, 19:04
Re: LAST QUESTION! HELP PLEASSE - by Frede - 04.01.2013, 19:09
Re: LAST QUESTION! HELP PLEASSE - by Vince - 04.01.2013, 19:11
Re: LAST QUESTION! HELP PLEASSE - by Lisaax - 04.01.2013, 19:11
Re: LAST QUESTION! HELP PLEASSE - by Lisaax - 04.01.2013, 19:16
Re: LAST QUESTION! HELP PLEASSE - by Vince - 04.01.2013, 19:34
Re: LAST QUESTION! HELP PLEASSE - by Lisaax - 04.01.2013, 19:38

Forum Jump:


Users browsing this thread: 1 Guest(s)