[HELP] Block permanent ban
How to block permanent ban on amxmodx?
Allow only ban with times. |
Re: [HELP] Block permanent ban
So they can do 999999999999999 for a duration instead? You would be better off having a separate ban command that has a fixed duration set.
|
Re: [HELP] Block permanent ban
Quote:
|
Re: [HELP] Block permanent ban
I want to remove permanent ban from the server.
Allow only bans per minute. |
Re: [HELP] Block permanent ban
What commands do you need to be restricted?
|
Re: [HELP] Block permanent ban
amx_ban = 0 (permanent)
|
Re: [HELP] Block permanent ban
To block people from using amx_ban for a permanent ban, you should add this:
Code:
if( str_to_num(minutes) == 0 ) Code:
if (!player) |
Re: [HELP] Block permanent ban
Not work....
PHP Code:
|
Re: [HELP] Block permanent ban
Were you able to get it to compile? Are you sure you replaced the original .amxx file on your server (and restarted)?
|
Re: [HELP] Block permanent ban
Yes, but it still did not work.
I tried the ban on amxmodmenu. i got: In actionBanMenu (plmenu.sma) after: PHP Code:
PHP Code:
|
All times are GMT -4. The time now is 19:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.