CMD:setleader(playerid, params[]){ new id; if(!sscanf(params,"u", id)) { // Do your thing, set "id" as leader. } return 1;}