Jump to content

Get admin menu working ?


Riddlez

Recommended Posts

Well guys. I don´t get it.

 

My Line in  epochAH.hpp look like this

adminMenu_Owner[] = {}; //{{"76561XXXXXXXXXXXXX","[bLR] Butters"},{"STEAMID","ADMINNAME2"},...}; ADMINNAME will be used for the Admin log instead of in-game name.

But when i press F1 after i login via command code in direct chat (#login PW) nothing happens...

 

What is my fault?
 

Link to comment
Share on other sites

You have to do:

 

adminMenu_Owner[] = {{{"76561XXXXXXXXXXXXX","[bLR] Butters"}}; //{{"76561XXXXXXXXXXXXX","[bLR] Butters"},{

 

instead of

 

adminMenu_Owner[] = {}; //{{"76561XXXXXXXXXXXXX","[bLR] Butters"},{

 

You added your code behind // which is just a comment ;)

Link to comment
Share on other sites

You have to do:

 

adminMenu_Owner[] = {{{"76561XXXXXXXXXXXXX","[bLR] Butters"}}; //{{"76561XXXXXXXXXXXXX","[bLR] Butters"},{

 

instead of

 

adminMenu_Owner[] = {}; //{{"76561XXXXXXXXXXXXX","[bLR] Butters"},{

 

You added your code behind // which is just a comment ;)

 

 

You've got an extra { bracket in there in the front.  Make sure there are two {{ at the front of the admin list and two }} at the end of the admin list, and one },{ between each admin.  Any more and any less will make it not work.

 

It should look like this:

adminMenu_Owner[] = {{"********","admin1"},{"********","admin2"},{"********","admin3"}}; //{{"STEAMID","ADMINNAME"},{"STEAMID","ADMINNAME2"},...}; ADMINNAME will be used for the Admin log instead of in-game name.
Link to comment
Share on other sites

admin tool seems working great except teleport.

I have no players to test tp to player or player to me.

but how do I tp myself somewhere on the map.

it says CTRL click map

this does nothing for me..

 

Double click the CTRL click line.  It will turn green, then you can hold down ctrl and click on the map on the right side of the screen.

 

Double click it again to turn it off.

Link to comment
Share on other sites

 

You've got an extra { bracket in there in the front.  Make sure there are two {{ at the front of the admin list and two }} at the end of the admin list, and one },{ between each admin.  Any more and any less will make it not work.

 

It should look like this:

adminMenu_Owner[] = {{"********","admin1"},{"********","admin2"},{"********","admin3"}}; //{{"STEAMID","ADMINNAME"},{"STEAMID","ADMINNAME2"},...}; ADMINNAME will be used for the Admin log instead of in-game name.

ups sorry. was a typo...

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×
×
  • Create New...