Raised This Month: $ Target: $400
 0% 

+1 Question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ghare
Member
Join Date: May 2010
Old 05-15-2010 , 23:01   +1 Question
Reply With Quote #1

Hi guys, i have 1+ question

Im running this plugins:
sm_admin_sounds_version
sm_supercmds_version

And when i want, for exemple to play a sound i need to write in the console: sm_admin_sounds, or if i want to give HP to a player i need to write a command, how can i make all this in the menu of the SM?
ghare is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 05-16-2010 , 03:22   Re: +1 Question
Reply With Quote #2

I haven't tried this myself, but it's possible to customize the admin menu: http://wiki.alliedmods.net/Admin_Men...on_(SourceMod)
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)

Last edited by rhelgeby; 05-16-2010 at 09:10.
rhelgeby is offline
Send a message via MSN to rhelgeby
triggerman
Senior Member
Join Date: Jun 2009
Old 05-16-2010 , 04:45   Re: +1 Question
Reply With Quote #3

http://wiki.alliedmods.net/Custom_Admin_Menu_SourceMod
__________________
triggerman is offline
ghare
Member
Join Date: May 2010
Old 05-28-2010 , 22:57   Re: +1 Question
Reply With Quote #4

Guys i cant make the menu to the sounds menu in the admin panel :S can someone help me?
ghare is offline
ghare
Member
Join Date: May 2010
Old 05-29-2010 , 12:25   Re: +1 Question
Reply With Quote #5

Someone can please help me?
ghare is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 05-29-2010 , 17:01   Re: +1 Question
Reply With Quote #6

Ok, don't panic.
I try help some way...

Let try first set that sm_admin_sounds command in adminmenu_custom.txt
I don't know what you have already in yours adminmenu_custom so here is only one command now
(let's think those super commands later)
* There is ready to super admin menu but I don't like it.

To use command sm_admin_sounds, admin need adminflag = "b" (ADMFLAG_GENERIC) or "z" = Magically enables all flags.
Code:
"Commands"
{
    "New Option"
    {
        "Admin Sounds"
        {
            "cmd"        "sm_admin_sounds"
        }
    }
}
- Notice, have to create first section/option "New Option" before you can add command "Admin Sounds".
- Don't create everytime new "Commands"{}, create menu inside it.


- There is 3 basic section that will be come with SM plugins. And more appears depends plugins how they have build. Player Commands, Server Commands, Vote Commands
You can add commands also in same section if want
PHP Code:
"Commands"
{
    
"PlayerCommands"
    
{
        
//code
    
}
    
    
"ServerCommands"
    
{
        
//code
    
}
    
    
"VoteCommands"
    
{
        
//code
    
}

- You maybe have to reboot server that it start work correctly.

I start look that super commands...

*edit
Ok I assume you have CS:S and plugins
SM Super Commands
Admin Sounds
I don't know have you SM Super Menu+smsuper.ini but disable those if you start using this adminmenu_custom.txt file.
I make my versio of adminmenu_custom and look like this :


ServerCommands
Admin Sounds
Map Extend (Super)
ShowDamage (Super)
ConnectAnnounce (Super)
AdminSeeAll (Super)
ShutdownServer (Super)
Give/Disarm (Super)
HP
Armour + Helmet
Weapons
Nightvision Goggles
Defusal Kit
Disarm Player(s)
Fun (Super)
God Mode
Speed
Bury/Unbury
Team Managment (Super)
Team Swap
Move player to team
Respawn
Teleport (Super)
Save Location
Teleport +slots
Get Location
Teleport map specific


- Weapon have same names as buy menu from game... ak47 = CV-47, m4a1 = MAVERICK M4A1 CARBINE etc. etc. (I was bored)
and I write some weapons end of name (T) (CT) sign which team can buy that.
- Before you use this, save or rename your previous admincustom menu txt file
- You can edit this what ever you want
- I leaved commands sm_gravity, sm_noclip and sm_exec.
Gravity and noclip you found SM basic plugins funcommands.smx (Player Commands)
sm_exec not work nowadays on players but can be execute sm commands from other admins
- Use also adminmenu_sorting.txt to keep menu order and
adminmenu_grouping.txt.
- SM Super Commands is old plugin so those:
@t @ct @aim @humans @alive @dead @bots not work correctly, it will execute command to all.
Only these work @T @CT @All
and of course name|steam_id
Attached Files
File Type: txt adminmenu_custom.txt (7.3 KB, 150 views)
File Type: txt adminmenu_sorting.txt (1.5 KB, 156 views)
File Type: txt adminmenu_grouping.txt (585 Bytes, 152 views)

Last edited by Bacardi; 05-30-2010 at 17:12.
Bacardi is offline
ghare
Member
Join Date: May 2010
Old 05-31-2010 , 16:37   Re: +1 Question
Reply With Quote #7

Thank you very much, you really helped me
ghare 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 16:52.


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