CMD:thisisacommand(playerid, params[]){ if(IsPlayerInRangeOfPoint(playerid, 10 , X, Y, Z))// <-- This. {// <-- And This. SetPlayerPos(playerid, X, Y, Z); } return 1;}