InRangeOfPoint Help [+rep]
#1

So I was recently coding a VIP locker, and found out I could use the command anywhere in the interior, not near the point I specified, this is the code.
pawn Code:
CMD:locker(playerid, params[]) {
    if (!IsPlayerInRangeOfPoint(playerid, 3, 770.6819,-77.5974,1000.6563) && GetPlayerInterior(playerid) == 7)
    ShowPlayerDialog(playerid,100,DIALOG_STYLE_LIST,"Locker Room.","Health Kit\t(Free)\nArmour\t(5)\nColt.45\t(4)\nDesertEagle\t(6)","Purchase","Exit");
    return 1;
}
There are no errors, either.
Reply


Messages In This Thread
InRangeOfPoint Help [+rep] - by Jack.7331 - 18.03.2012, 09:25
Re: InRangeOfPoint Help [+rep] - by antonio112 - 18.03.2012, 09:29
Re: InRangeOfPoint Help [+rep] - by Jack.7331 - 18.03.2012, 09:32

Forum Jump:


Users browsing this thread: 1 Guest(s)