IsPlayerInRangeOfPoint ( Wanna Add 2 Ranges ) {HELP}
#5

Quote:
else if(IsMedic(playerid))
{
if(!IsPlayerInRangeOfPoint(playerid, 10, 1252.2406,321.0259,-11.7422)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
{
SSSShowDialog(playerid, 33);
}
else if(!IsPlayerInRangeOfPoint(playerid, 10, -196.6472,-1741.1837,675.7687)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
{
SSSShowDialog(playerid, 33);
}
}

Still Errors ARe :-
Quote:
(13887) : error 029: invalid expression, assumed zero
(13887) : warning 215: expression has no effect
(13887) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)