if(strcmp(cmdtext, "/teleport", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GetPlayerPos(tmpPlayer, Float:x, Float:y, Float:z); SetPlayerPos(playerid, Float:x, Float:y, Float:z); } else { SendClientMessage(playerid, COLOR_RED, "You are not an admin!"); } return 1; }