Some annoying warnings - HELP!
#2

Код:
SendAudioToRange(audioid, volume, Float:x, Float:y, Float:z, Float:range)//4462
{
	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);
					audiohandle[i][audiohandleglobal] = localhandle;
				}
			}
		}
	}
	return audiohandleglobal;
}
Код:
stock SendAudioURLToRange(url[], volume, Float:x, Float:y, Float:z, Float:range) //4492
{
	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);
					audiohandle[i][audiohandleglobal] = localhandle;
				}
			}
		}
	}
	return audiohandleglobal;
}
Reply


Messages In This Thread
Some annoying warnings - HELP! - by bradleyofniet - 29.06.2014, 08:58
Re: Some annoying warnings - HELP! - by Rittik - 29.06.2014, 09:00
Re: Some annoying warnings - HELP! - by bradleyofniet - 29.06.2014, 09:08
Re: Some annoying warnings - HELP! - by bradleyofniet - 29.06.2014, 09:15
Re: Some annoying warnings - HELP! - by PrivatioBoni - 29.06.2014, 09:19
Re: Some annoying warnings - HELP! - by bradleyofniet - 29.06.2014, 09:24
Re: Some annoying warnings - HELP! - by bradleyofniet - 29.06.2014, 09:28

Forum Jump:


Users browsing this thread: 1 Guest(s)