Setting my Admin Level - MySQL !
#1

Hey Guys, I'm new to MySQL And I've got the server up and running with a database, but i'm used to .ini user files which is easy to set your admin level. How would I do it with a MySQL Database? Thanks guys!!

Reply
#2

Anyone? I'm sure its not complicated!
Reply
#3

double click on the current admin level and it should bring up a dialog to change it.

The other thing you can do is allow /makeadmin or whatever to work if(IsPlayerAdmin) (logged into RCON), and if you are uncomfortable with it, remove it after making yourself admin, or require an additional pass if they are logged into rcon


(Sorry if I make no sense xD)
Reply
#4

haha yeah it makes sence! but when I click on the current level it nothing happens are you sure theres no other way?? without going into rcon?
Reply
#5

Anyone
Reply
#6

Mysql Query ( create column AdminLevel in accounts table after column key ) :
Quote:

ALTER TABLE `accounts`
ADD COLUMN `AdminLevel` int(11) NOT NULL DEFAULT 0 AFTER `Key`;

and save your admin level to this column ( like save username, password, etc )
Reply
#7

hewitt with the gamemode you are using:

Open the PWN with PAWNO and then find where it says OWNER_IP or CO_OWNER_IP: and add your IP address to it. Once you have done that it enable you to use /makeadmin or /authmakeadmin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)