14.07.2011, 20:02
It's an example of a command.
pawn Код:
CMD:check(playerid, params[]) {
if(!IsPlayerInRangeOfPoint(playerid, radius, x,y,z)) return SendClintMessage(playerid, -1, "You are not near the POSITION!"); // Change X, Y, Z, RADIUS.
// Do whatever you want to open when he is close.
return 1;
}