Quote:
Originally Posted by Potato Uno
I haven't written the support for entering player user names (mainly because I have no idea how to and plus I have a ton of other things to finish up). Use the client ID instead of the username.
If you type "status" onto the console (client console or server console) it will list each player's name with an index number (usually a number within 1 to 100), along with their steam ID and everything else. Say the guy "Yacante" has the client ID #53. Then you enter 'sm_advban 53 "insulting admin"' and it should ban them for 60 minutes. Try that and see if it works.
You should use the status command on the console to get the client ID anyway, since some players can come in with untypable names (with Russian or Chinese or non-UTF-8 characters).
EDIT: I also have no experience on admin menu integration. If anyone else is willing to lend a few minutes of their time for admin menu integration then they can write that support here. Thanks!
|
Hello bro, i tested again with the client ID, and it works well, if i ban him for Abusive it bans him correctly, so thanks! hopefully someone can integrate this plugin in the admin menu to make it more comfortable to use since typing status (get client id) and sm_advban "id" "reason" takes too long!