Raised This Month: $ Target: $400
 0% 

adminmenu_custom - L4D2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gamer_kanelita
Senior Member
Join Date: Jun 2019
Location: Peru
Old 06-05-2024 , 10:29   adminmenu_custom - L4D2
Reply With Quote #1

Some good man who could make these commands in the adminmenu_custom file, I did it but I don't get almost all, eye that get ahead of the admin menu, here I leave you masomenes what I want to see, if they had to share other Cheveres commands for admin serious cool plis:


"A*AirStrike*"
{
"cmd" "sm_airstrikes #1"
"execute" "player"
"1"
{
"type" "teamplayer"
"method" "name"
"title" "Player:"
}
}
"A*God HP*"
{
"cmd" "sm_sethpplayer #1 #2"
"execute" "teamplayer"
"1"
{
"type" "player"
"method" "name"
"title" "Player:"
}
"2"
{
"type" "list"
"title" "HP God:"
"1" "60999"
"1." "God"
"2" "500"
"2." "Tank"
"3" "100"
"3." "Normal"
}
"A*Teleport*"
{
"cmd" "sm_teleport #1, sm_teleport @s #1"
"execute" "player"
"1"
{
"type" "teamplayer"
"method" "name"
"title" "Player:"
}
"A*Respawn*"
{
"cmd" "sm_respawn #1, sm_respawn @dead #1 "
"execute" "player"
"1"
{
"type" "teamplayer"
"method" "name"
"title" "Player:"
}
}
gamer_kanelita is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 06-05-2024 , 18:41   Re: adminmenu_custom - L4D2
Reply With Quote #2

Please use tags to wrap your code.

Read how to write Custom Admin Menu


PHP Code:
"Commands"
{
    
"Your Custom Commands"
    
{
        
"A*AirStrike*"
        
{
            
"cmd" "sm_airstrikes #1"
            "execute" "player"
            "1"
            
{
                
"type" "teamplayer"
                "method" "name"
                "title" "Player:"
            
}
        }
        
"A*God HP"
        
{
            
"cmd"        "sm_sethpplayer #1 #2"
            "execute"    "teamplayer"
            "1"
            
{
                
"type"         "player"
                "method"    "name"
                "title"        "Player:"
            
}
            
"2"
            
{
                
"type"         "list"
                "title"     "HP God:"
                "1"         "60999"
                "1."        "God"    
                "2"         "500"
                "2."        "Tank"
                "3"         "100"
                "3."        "Normal"
            
}    
        }        
        
"A*Teleport"
        
{
            
"cmd"        "sm_teleport #1 #2"
            "admin"        "sm_teleport"
            "execute"    "player"
            "1"
            
{
                
"type"         "player"
                "method"    "name"
                "title"        "Player:"
            
}
            
"2"
            
{
                
"type"         "player"
                "method"    "name"
                "title"        "Player:"
            
}
        }
        
"A*Respawn*"
        
{
            
"cmd" "sm_respawn #1"
            "execute" "player"
            "1"
            
{
                
"type" "teamplayer"
                "method" "name"
                "title" "Player:"
            
}
        }
    }

__________________

Last edited by HarryPotter; 06-05-2024 at 18:46.
HarryPotter 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 03:10.


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