08.02.2014, 18:40
PHP код:
if(IsPlayerInRangeOfPoint(playerid, 12.0, 2782.3027,-2019.0826,13.5547));
If you want to check if the statement is false use '!' at the start of it (which also means NOT in a similar way != means NOT EQUAL).
'!' Will check if the function returns false (0) and will pass if so.
pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 12.0, 2782.3027,-2019.0826,13.5547))
return SendClientMessage(playerid,-1,"ERROR: You are not in the basketball field!");