15.05.2014, 16:19
pawn Код:
new
Float: pX,
Float: pY,
Float: pZ;
GetPlayerPos(id, pX, pY, pZ); // edit "id" to the variable you store the player's ID who is about to be arrested
if (!IsPlayerInRangeOfPoint(playerid, 10.0, pX, pY, pZ)) return // error message (not close enough)