a little help.
#3

pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 10, 1526, -1676, 5.89) || !IsPlayerInRangeOfPoint(playerid, 10, 613.8015, -589.0556,17.2330)) return SendClientMessage(playerid, -1, "You are not at the arrest point.");
You cannot have an if inside if like that:
pawn Код:
if( something || if( something2 ) )
// Not correct
And instead of closing the parentheses and return an error message, you use "||".

Anyways, the last IsPlayerInRangeOfPoint was a bit.. 4 parameters (x, y, z, angle) and I think the previous parameter was skin instead of the range. I suppose it's if he's not in that range the second as well.
Reply


Messages In This Thread
a little help. - by Yves - 31.07.2013, 10:02
Re: a little help. - by JimmyCh - 31.07.2013, 10:07
Re: a little help. - by Konstantinos - 31.07.2013, 10:08
Re: a little help. - by arjanforgames - 31.07.2013, 10:14
Re: a little help. - by Konstantinos - 31.07.2013, 10:19
Re: a little help. - by Yves - 31.07.2013, 10:40
Re: a little help. - by Konstantinos - 31.07.2013, 10:43
Re: a little help. - by Yves - 31.07.2013, 10:49
Re: a little help. - by JimmyCh - 31.07.2013, 10:50
Re: a little help. - by Yves - 31.07.2013, 11:04

Forum Jump:


Users browsing this thread: 1 Guest(s)