AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Noob Admin Menu Assistance (https://forums.alliedmods.net/showthread.php?t=91188)

bbbob 04-27-2009 20:09

Noob Admin Menu Assistance
 
Hi All!

I was looking for some assistance or tutorial on how to add a command to the regular sm_admin menu.

I would like all the server admins to be able to run es_load gungame and es_unload gungame.

Right now i am the only one that can load it due to that fact that i have rcon and they do not.

Thank you for the consideration of support.

and thanks for all that you guys do here, its a great community support resource!

Dominator 04-27-2009 20:17

Re: Noob Admin Menu Assistance
 
you can setup adminmenu_cfgs.txt and make custom configs in tf/cfg/ directory so that you could launch them in game.

bbbob 04-27-2009 20:26

Re: Noob Admin Menu Assistance
 
Great thanks .. i am on a cstrike server.. i was looking at that exact config file..


for Example:
/**
* List config files here (relative to moddir) to have them added to the exec config menu list
* Left side is the filename, right side is the text to be added to the menu
*/
Configs
{
"cfg/server.cfg" "Standard Server Setup"
"cfg/sourcemod/sm_warmode_on.cfg" "War Mode On"
"cfg/sourcemod/sm_warmode_off.cfg" "War Mode Off"
"cfg/gungame_on.cfg "Load Gungame"
"cfg/gungame_off.cfg "Unload Gungame"


then in the gungame_on.cfg file is where i am lost on what the commands i would use there to make it run

would i just use es_load gungame ?

Thank you!

Bob

Dominator 04-27-2009 20:44

Re: Noob Admin Menu Assistance
 
yea or something like sm plugins load mod.smx or any cvar that you know of to use to get what you want.

bbbob 04-27-2009 22:53

Re: Noob Admin Menu Assistance
 
I did it just as i thought and you directed and it works jsut fine!

thanks for the assistance!
Bob


All times are GMT -4. The time now is 18:05.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.