Error with Positions
#2

Change this line:
pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 12.0, 1788.3121, -1569.8536, 22.9151) || !IsPlayerInRangeOfPoint(playerid, 12.0, 1760.0992, -1541.9899, 9.3473))
To this:
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 ||
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: 2 Guest(s)