Hi All ,
I am creating a plugin but the amx_banip thing is not working .
In my plugin i have put
server_cmd("amx_banip %s %d ^"Crash script detected^"", name, get_cvar_num("anti_crash_bantime"))
Now the player is getting banned . But in bantime the name of the player is coming and in reason the time is coming .
See the log
Code:
L 01/13/2011 - 19:26:37: [admincmd.amxx] Ban: "Half-Life dedicated server<0><><>" ban and kick "Mr. Perfect<1><STEAM_ID_LAN><>" (minutes "Perfect") (reason "120")
[AMXX] Client "Perfect" banned
Dropped Perfect from server
Reason: Kicked :"120 (banned permanently)"
Writing listip.cfg.
Pls tell me how to handle this ?