06.01.2015, 18:20
Actually, you have this:
You have 6 arguments. You need only 5.
You put Angle too. I think..
Correct code:
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 6, 294.3638,-82.5354,1001.5156,90.4606)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the ammunation rob point.");
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, Range, X, Y, Z)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the ammunation rob point.");
Correct code:
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 6, 294.3638,-82.5354,1001.5156)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the ammunation rob point.");