Quote:
Originally Posted by fysiks
You just need to change the code in the switch() on line 204 to match up with your needs. Then, you add the appropriate code to the case that will execute what you want done.
|
True, but there "case 1-2" and default.
On top of all this plugin does not understand how to ban Commando "hd_ban" (hd_ban% userid%% time%% reason%).
Namely, there is no variable "% reason%", "% time%" and "% userid%".
This means that the command will be given is not true.
And I tried to substitute:
Code:
case 2:
server_cmd ("amx_ban% d% %s Voteban", get_pcvar_num (gi_BanTime), ga_PlayerAuthID [Selected])
is:
Code:
case 2:
server_cmd ("hd_ban% s% %d Voteban", get_pcvar_num (gi_BanTime), ga_PlayerAuthID [Selected])
And did not help.