27.09.2010, 05:13
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; }