CMD:test(playerid, params[]){ if(IsPlayerInRangeOfPoint(playerid, 100.0, X-, Y-, Z-)) { //The rest of code here. } else return SendClientMessage(playerid, 0xFFFFFFFF, "You are not near the point.");}