unknown warnings
#4

Код:
stock IsAtDynamicPoint(playerid, type)
{
	if(IsPlayerConnected(playerid))
	{
		for(new x; x < MAX_DYNAMICPOINTS; x++)
		{
			if(DynamicPoints[x][dynamicPosX] != 0)
			{
				if(DynamicPoints[x][dynamicType] == type)
				{
					switch(DynamicPoints[x][dynamicType])
					{
						case 0:
						{
							if(IsPlayerInRangeOfPoint(playerid, 10.0, DynamicPoints[x][dynamicPosX], DynamicPoints[x][dynamicPosY], DynamicPoints[x][dynamicPosZ]) && GetPlayerInterior(playerid) == DynamicPoints[x][dynamicInt] && GetPlayerVirtualWorld(playerid) == DynamicPoints[x][dynamicVW]) return 1;
						}
						case 1:
						{
							if(IsPlayerInRangeOfPoint(playerid, 10.0, DynamicPoints[x][dynamicPosX], DynamicPoints[x][dynamicPosY], DynamicPoints[x][dynamicPosZ]) && GetPlayerInterior(playerid) == DynamicPoints[x][dynamicInt] && GetPlayerVirtualWorld(playerid) == DynamicPoints[x][dynamicVW]) return 1;
						}
						case 2:
						{
							if(IsPlayerInRangeOfPoint(playerid, 10.0, DynamicPoints[x][dynamicPosX], DynamicPoints[x][dynamicPosY], DynamicPoints[x][dynamicPosZ]) && GetPlayerInterior(playerid) == DynamicPoints[x][dynamicInt] && GetPlayerVirtualWorld(playerid) == DynamicPoints[x][dynamicVW]) return 1;
						}
						case 3:
						{
							if(IsPlayerInRangeOfPoint(playerid, 10.0, DynamicPoints[x][dynamicPosX], DynamicPoints[x][dynamicPosY], DynamicPoints[x][dynamicPosZ]) && GetPlayerInterior(playerid) == DynamicPoints[x][dynamicInt] && GetPlayerVirtualWorld(playerid) == DynamicPoints[x][dynamicVW]) return 1;
						}
						case 4:
						{
							if(IsPlayerInRangeOfPoint(playerid, 10.0, DynamicPoints[x][dynamicPosX], DynamicPoints[x][dynamicPosY], DynamicPoints[x][dynamicPosZ]) && GetPlayerInterior(playerid) == DynamicPoints[x][dynamicInt] && GetPlayerVirtualWorld(playerid) == DynamicPoints[x][dynamicVW]) return 1;
						}
					}
				}
			}
		}
	}
	return 0;
}
Reply


Messages In This Thread
unknown warnings - by IndependentGaming - 13.02.2015, 11:58
Re: unknown warnings - by IndependentGaming - 13.02.2015, 12:38
Re: unknown warnings - by BroZeus - 13.02.2015, 12:40
Re: unknown warnings - by IndependentGaming - 13.02.2015, 12:40
Re: unknown warnings - by CalvinC - 13.02.2015, 12:43
Re: unknown warnings - by IndependentGaming - 13.02.2015, 12:45
Re: unknown warnings - by Threshold - 13.02.2015, 14:07

Forum Jump:


Users browsing this thread: 1 Guest(s)