AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   change default 5 minutes ban to 60 menu, how? (https://forums.alliedmods.net/showthread.php?t=86834)

danli 03-03-2009 09:26

change default 5 minutes ban to 60 menu, how?
 
On the amx_banmenu, is there an easy way to change the default 5 minutes to 60 without having learn how to script or re-compile stuff in amxx? This is the only thing I want to change . . . will kill me to have to spend time on learning something ima do only once :)

If this isn't posted in the right subsection, let me know.

Thanks for any help!

xPaw 03-03-2009 09:37

Re: change default 5 minutes ban to 60 menu, how?
 
just edit amxx.cfg
Quote:

// Ban times for the main ban menu (amx_banmenu)
// Use 0 for permanent ban
// Default values: 0 5 10 15 30 45 60
amx_plmenu_bantimes 0 5 10 30

danli 03-03-2009 13:25

Re: change default 5 minutes ban to 60 menu, how?
 
[ 1] Admin Base 1.8.1.3746 AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.8.1.3746 AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.8.1.3746 AMXX Dev Team adminhelp.amxx running
[ 6] Menus Front-End 1.8.1.3746 AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.8.1.3746 AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.8.1.3746 AMXX Dev Team plmenu.amxx running
[ 28] tfcstats_maxmenupos 7 stats.amxx

Thanks, but that doesn't work. I also tried amx_banmenu 60, because I didn't want people doing permanent bans. The permanent ban is still an option though, so this doesnt work.

I upgraded from 1.75a to the latest version of amxmod. Wondering if that has anything to do with it.

Also, am I actually supposed to be able in console to type amx_plmenu? That doesn't work, but amx_banmenu does.

danli 03-03-2009 14:03

Re: change default 5 minutes ban to 60 menu, how?
 
Nevermind..I found a way to do it in my clcmds.ini :)

fysiks 03-03-2009 19:28

Re: change default 5 minutes ban to 60 menu, how?
 
Code:

// Ban times for the main ban menu (amx_banmenu)
// Use 0 for permanent ban
// Default values: 0 5 10 15 30 45 60
amx_plmenu_bantimes 0 5 10 30

This does not work in the DOD version of AMX. Thus, it depends on what mod you are running.


All times are GMT -4. The time now is 17:02.

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