well,i dont exactly know /xcommands code,but i can find only these lines related to xcommands. sorry.and try to help.
dcmd_xcommands(playerid,params[]) {
#pragma unused params
if(!IsPlayerXAdmin(playerid)) return SendClientMessage(playerid,red,"ERROR: You must be an administrator to view these commands.");
SendClientMessage(playerid,yellow,"morning,afterno on,evening,midnight,settime,goto,gethere,announce, say,flip,slap,(un)wire,kick,ban");
SendClientMessage(playerid,yellow,"akill,eject(all ),(un)freeze(all),outside,healall,uconfig,setsm,gi vehealth,sethealth,skinall,armourall");
SendClientMessage(playerid,yellow,"resetallweapons ,set/give/rem/reset(all)cash,god,resetscores,setlevel,setskin,gi vearmour,setarmour");
SendClientMessage(playerid,yellow,"setammo,setscor e,ip,ping,explode,setname,setalltime,force,set(all )world,setgravity,set(all)wanted");
return SendClientMessage(playerid,yellow,"carcolor,give(a ll)weapon,x(unlock),gmx,carhealth,setping,giveme,g ivecar,xspec,xcommands,weather");