public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp("/jail", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,x,y,z); // At x,y,z put coordinates of jail place there ... return 1; } return 0;}