Quote:
Originally Posted by Bugsy
What does "ban they config" mean?
|
He will be setting a custom info keyvalue by "setinfo" clcmd which he then retrieves on reconnect. Not a good solution but it should work as long as the client does not restart his game.
Quote:
Originally Posted by Nyuszy
ok, but the baned dont disconnect...
|
PHP Code:
if(strlen(bankey) > 0){
server_cmd("amx_kick #%d ^"Banned!^"", get_user_userid(id))
server_exec()
return PLUGIN_HANDLED
}
Think that should fix it.
__________________