Error with Positions
#4

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 12.0, 1788.3121, -1569.8536, 22.9151) && !IsPlayerInRangeOfPoint(playerid, 12.0, 1760.0992, -1541.9899, 9.3473))
They should have both conditions in order to get the message, therefore you use && instead of ||
That means the player could be in range of one point, but still not be able to use the command because the player isn't in range of the other point. Therefore it should be || and the OP's code is fine.
Reply


Messages In This Thread
Error with Positions - by Neo Karls - 14.12.2012, 13:08
Re: Error with Positions - by Threshold - 14.12.2012, 13:15
Re: Error with Positions - by Neo Karls - 14.12.2012, 13:26
Re: Error with Positions - by ReneG - 14.12.2012, 13:27
Re: Error with Positions - by mamorunl - 14.12.2012, 14:24
Re: Error with Positions - by maramizo - 14.12.2012, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)