Raised This Month: $ Target: $400
 0% 

Noob Admin Menu Assistance


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bbbob
New Member
Join Date: Apr 2009
Old 04-27-2009 , 20:09   Noob Admin Menu Assistance
Reply With Quote #1

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!
bbbob is offline
Dominator
Senior Member
Join Date: Mar 2008
Old 04-27-2009 , 20:17   Re: Noob Admin Menu Assistance
Reply With Quote #2

you can setup adminmenu_cfgs.txt and make custom configs in tf/cfg/ directory so that you could launch them in game.
__________________
Dominator is offline
bbbob
New Member
Join Date: Apr 2009
Old 04-27-2009 , 20:26   Re: Noob Admin Menu Assistance
Reply With Quote #3

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
bbbob is offline
Dominator
Senior Member
Join Date: Mar 2008
Old 04-27-2009 , 20:44   Re: Noob Admin Menu Assistance
Reply With Quote #4

yea or something like sm plugins load mod.smx or any cvar that you know of to use to get what you want.
__________________
Dominator is offline
bbbob
New Member
Join Date: Apr 2009
Old 04-27-2009 , 22:53   Re: Noob Admin Menu Assistance
Reply With Quote #5

I did it just as i thought and you directed and it works jsut fine!

thanks for the assistance!
Bob
bbbob is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:57.


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