18.02.2012, 22:22
That's still wrong though. In fact, that return 1 can stay as the correct house has been found and no further checking is required. The culprit is this line:
If you're not near the very first house, the script will jump to this line, send the message and then exit the loop without checking any further houses.
pawn Code:
else return SendClientMessage(playerid, 0xFFFFFFFF, "You are not near a house.");