If statement help
#1

Hey

I want to do the following but i am unsure how.

pawn Код:
if( !IsPlayerInRangeOfPoint( playerid, 2.0, X, Y ,Z ) || !IsPlayerInRangeOfPoint( playerid, 2.0,  X, Y ,Z)) return SendClientMessage(playerid, "Your not in range")
Showplayerdialog...
Even when i am in range it just says your not in range

i want it so if i'm in range of either of the 2 locations it will show the dialog
Reply


Messages In This Thread
If statement help - by [DK]Dark_Knight - 17.09.2011, 06:32
Re: If statement help - by Jafet_Macario - 17.09.2011, 06:38
Re: If statement help - by [DK]Dark_Knight - 17.09.2011, 07:09
Re: If statement help - by Tee - 17.09.2011, 07:12
Re: If statement help - by Lorenc_ - 17.09.2011, 07:14
Re: If statement help - by Tee - 17.09.2011, 07:15
Re: If statement help - by =WoR=Varth - 17.09.2011, 07:38
Re: If statement help - by [DK]Dark_Knight - 17.09.2011, 07:41

Forum Jump:


Users browsing this thread: 1 Guest(s)