27.09.2013, 07:02
Well, I'm sorry if I understood you wrong but if you have tried to do what I think, which is getting all the nearly houses around the player so this is the code for you and if you meant something else, please let me know and I'll sort it out already:
PHP код:
for(new r = 0; r < MAXA_HOUSES; r++)
{
if(!IsPlayerInRangeOfPoint(playerid, 30, HouseInfo[rand][hExteriorX], HouseInfo[rand][hExterioY], HouseInfo[rand][hExteriorZ)) continue;
{
// what happens
}
}