Raised This Month: $51 Target: $400
 12% 

Console Command from menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
j0sh77
Senior Member
Join Date: Jan 2010
Old 02-14-2010 , 17:08   Console Command from menu
Reply With Quote #1

Could someone make a mod that lets me do a command from console in the admin menu?

What im looking for is something for this - http://forums.alliedmods.net/showthread.php?p=976177

I want to be able to keep tapping a button and spawn tons of pumpkins
__________________

j0sh77 is offline
Bigbuck
Senior Member
Join Date: Jul 2009
Old 02-14-2010 , 18:21   Re: Console Command from menu
Reply With Quote #2

Why not just bind that command to a key?
Bigbuck is offline
triggerman
Senior Member
Join Date: Jun 2009
Old 02-14-2010 , 21:44   Re: Console Command from menu
Reply With Quote #3

Code:
"Commands"
    {
      "Pumpkin commands"
         {
            "spawn pumpkin"
            {
                "cmd"        "sm_pumpkin"
                "admin"        "sm_kick"
                "execute"    "player"
            }
            
            "spawn indestructable pumpkin"
            {
                "cmd"        "sm_ipumpkin"
                "admin"        "sm_kick"
                "execute"    "player"
            }
            
            "Convert to regular pumpkins"
            {
                "cmd"        "sm_toggle"
                "admin"        "sm_kick"
                "execute"    "player"
            }
        }
    }
goes in adminmenu_custom.txt

hope it works
__________________
triggerman 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 08:40.


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