Freakin' Warnings
#3

Okey :S I'll

This is 1st warning: 3688
Code:
public Audio_OnSetPack(audiopack[])
{
	foreach(Player, i)
	{
		Audio_TransferPack(i);
	}
	return 1;
}

This is second warning;3751
Code:
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;
}
This is 3rd warning;3782

Code:
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;
}
This is 4th only one line:

Code:
		if(PlayerInfo[playerid][pCarLic] = 0) return SendClientMessageEx(playerid, COLOR_RED, "You're driving without a drivers license. Obtain one from City Hall!");

5th.... [code new rand = random(2);[/code]


6th warning....
Code:
	if(PlayerInfo[playerid][pModel] = 299) {
and FINALLY LAST ONE AT THE LAST LINE;
Code:
}
EPIC FAIL

EDIT; Idk How to change so there will be space:S

EDIT; Epic Fail Beofre i did [qute] instend of code anyways HELP HELP (panic) xD
Reply


Messages In This Thread
Freakin' Warnings - by Sig Hansen - 21.08.2012, 10:49
Re: Freakin' Warnings - by Gangster-rocks - 21.08.2012, 10:51
Re: Freakin' Warnings - by Sig Hansen - 21.08.2012, 10:57
Re: Freakin' Warnings - by basse - 21.08.2012, 10:57
Re: Freakin' Warnings - by Sig Hansen - 21.08.2012, 10:59
Re: Freakin' Warnings - by Sig Hansen - 21.08.2012, 11:31
Re: Freakin' Warnings - by Sig Hansen - 21.08.2012, 12:05
Re: Freakin' Warnings - by playbox12 - 21.08.2012, 12:09
Re: Freakin' Warnings - by Sig Hansen - 21.08.2012, 12:10
Re: Freakin' Warnings - by playbox12 - 21.08.2012, 12:18

Forum Jump:


Users browsing this thread: 3 Guest(s)