House Checkpoint
#5

The problem is the return 1; inside the loop. Delete it

Код:
for(new h = 1; h < sizeof(HouseInfo); h++)
{
	if(IsPlayerInRangeOfPoint(playerid, 10.0, HouseInfo[h][hEntranceX], HouseInfo[h][hEntranceY], HouseInfo[h][hEntranceZ]))
	{
		HouseInfo[h][HouseCP] = CreateDynamicCP(HouseInfo[h][hEntranceX], HouseInfo[h][hEntranceY], HouseInfo[h][hEntranceZ], 1.5, -1, -1, playerid, 5.0);
		break;
	}
	else DestroyDynamicCP(HouseInfo[h][HouseCP]);
}
Reply


Messages In This Thread
House Checkpoint - by Chrillzen - 22.03.2015, 13:48
Re: House Checkpoint - by LetsOWN[PL] - 22.03.2015, 13:55
Re: House Checkpoint - by Chrillzen - 22.03.2015, 14:04
Re: House Checkpoint - by Evocator - 22.03.2015, 14:09
Respuesta: House Checkpoint - by alexus - 22.03.2015, 14:11
Re: House Checkpoint - by Chrillzen - 22.03.2015, 14:17

Forum Jump:


Users browsing this thread: 1 Guest(s)