SA-MP Forums Archive
HOW TO MAKE MYSELF ADMIN in XTREMEADMIN - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HOW TO MAKE MYSELF ADMIN in XTREMEADMIN (/showthread.php?tid=450332)



HOW TO MAKE MYSELF ADMIN in XTREMEADMIN - ponagandlamanoj - 12.07.2013

I would like to know how to make myself administrator in my samp server, after logging in as rcon admin, when i type /xcommands i get a message telling that i must be administrator. please someone help me.

Any help would be appreciated.
Thank you.


Re: HOW TO MAKE MYSELF ADMIN in XTREMEADMIN - Ibrahim.E - 12.07.2013

From the script files.


Re: HOW TO MAKE MYSELF ADMIN in XTREMEADMIN - ponagandlamanoj - 12.07.2013

i put my admin level as 10. but still cant use admin commands.


Re: HOW TO MAKE MYSELF ADMIN in XTREMEADMIN - Gangster-rocks - 12.07.2013

Its a bug in the FS then.
Post /xcommands code here so we can help you.


Re: HOW TO MAKE MYSELF ADMIN in XTREMEADMIN - ponagandlamanoj - 12.07.2013

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");


Re: HOW TO MAKE MYSELF ADMIN in XTREMEADMIN - Gangster-rocks - 12.07.2013

Post IsPlayerXAdmin Function.