Code:
/*
*
* AMXX BAN Replacement v 1.0
*
* The ban code itself was created by the AMXX Dev Team. This is just used as a replacement
* for the normal ban, so an admin can impose a limit on bans from certain users.
* I made the modification at the request of an admin friend who's server admins
* tend to make bans permanent without thinking about it first. This will prevent that from
* happening, by restricting the max length to whatever the admin sets amx_ban_temp cvar to.
*
* This should be placed above your admincmd.amxx in your plugins.ini file.
* You can change the access level for the temp ban, by modifying the define low_ban line.
* It's currently set to ADMIN_LEVEL_E
*
* A user who has both NORMAL_BAN and LOW_BAN will have it default to NORMAL_BAN which means they
* can ban a user to any amount of time. A user with access only to LOW_BAN cannot.
*
*
* The amx_ban_temp cvar is set to 1440 or 24 hours by default.
*
*/
Again there are two defined here:
#define NORMAL_BAN ADMIN_BAN
#define LOW_BAN ADMIN_LEVEL_E
So modify the LOW_BAN level to whatever admin level you like.