/enter command not checking positions.
#4

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:
pawn Code:
else return SendClientMessage(playerid, 0xFFFFFFFF, "You are not near a house.");
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.
Reply


Messages In This Thread
/enter command not checking positions. - by ricardo178 - 18.02.2012, 22:03
Re: /enter command not checking positions. - by milanosie - 18.02.2012, 22:10
Re : /enter command not checking positions. - by ricardo178 - 18.02.2012, 22:11
Re: /enter command not checking positions. - by Vince - 18.02.2012, 22:22
Re: /enter command not checking positions. - by IceCube! - 18.02.2012, 22:24
Re: /enter command not checking positions. - by milanosie - 18.02.2012, 22:27
Re: /enter command not checking positions. - by Kwarde - 18.02.2012, 22:34
Re: /enter command not checking positions. - by Vince - 18.02.2012, 22:38
Re: /enter command not checking positions. - by milanosie - 18.02.2012, 22:39
Re: /enter command not checking positions. - by milanosie - 18.02.2012, 22:41

Forum Jump:


Users browsing this thread: 1 Guest(s)