GetClosestHouse
#1

I am attempting to make a way to loop through all the houses, Find the one that is the closest and return it. Any ideas?

Код:
fpublic GetClosestHouse(playerid)
{
	foreach(house, i)
	{
	    return i;
	}
	return -255;
}
Reply


Messages In This Thread
GetClosestHouse - by MisterTickle - 27.09.2010, 05:13
Re: GetClosestHouse - by Retardedwolf - 27.09.2010, 05:29

Forum Jump:


Users browsing this thread: 1 Guest(s)