HOW TO MAKE MYSELF ADMIN in XTREMEADMIN
#1

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.
Reply
#2

From the script files.
Reply
#3

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

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

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");
Reply
#6

Post IsPlayerXAdmin Function.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)