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

sm_silence bad reason and time


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nocky
Member
Join Date: Oct 2013
Location: Czech Republic
Old 04-06-2019 , 11:06   sm_silence bad reason and time
Reply With Quote #1

Hello, i make custom admin ban menu to silence. Just works badly

adminmenu_custom.txt -
This is a menu for classic bans and works properly, giving it the right length and reasons.
PHP Code:
   "Ban menu"
    
{
        
"admin"        "sm_ban"
        "Rules"
        
{
            
"cmd"        "sm_ban #1 #2 @3"
            "admin"        "sm_ban"
            "execute"            "admin"
            "1"
            
{
                
"type"         "player"
                "title"        "Select player:"
            
}
            
"2"
            
{
                
"type"        "list"
                "title"        "Time:"
                "1"            "30"
                "1."        "30 minutes"
                "2"            "60"                    
                "2."        "1 hour"
                "3"            "120"
                "3."        "2 hours"
            
}
            
"3"
            
{
                
"type"        "list"
                "title"        "Reason:"
                "1"        "[Ban] TEST"
                "1."       "Test ban"

            
}
      }



And this is the menu on Silence ban, it is exactly the same as the classic ban menu. Just sm_ban is sm_silence
And when I select Silence ban, it only gives you a 30 minute ban and the reason looks like this:
"30" [Ban] TEST

PHP Code:
   "Ban menu"
    
{
        
"admin"        "sm_ban"
        "Chat Rules"
        
{
            
"cmd"        "sm_silence #1 #2 @3"
            "admin"        "sm_ban"
            "execute"            "admin"
            "1"
            
{
                
"type"         "player"
                "title"        "Select player:"
            
}
            
"2"
            
{
                
"type"        "list"
                "title"        "Time:"
                "1"            "30"
                "1."        "30 minutes"
                "2"            "60"                    
                "2."        "1 hour"
                "3"            "120"
                "3."        "2 hours"
            
}
            
"3"
            
{
                
"type"        "list"
                "title"        "Reason:"
                "1"        "[Ban] TEST"
                "1."       "Test ban"

            
}
      }

Why does he do that? Thanks for support and sorry for my bad english.
Nocky 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 05:23.


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