Autoban Thing

Posted by WolfCoderz
Is it possible to make autobans? besides of terminating the game.
(Anyways I'm using gms_protect function)

Replies (3)

Last message on 16 Jul 2020

Size43 (Administrator) on 14 Jul 2020, 16:00:34
I'll enable selfbans without having admin permissions, so that you can do something like

if (...) // gms_protect check
{
    gms_admin_ban(gms_self_playerid(), "Cheating", 9999)
    game_end()
}
WolfCoderz (Topicstarter) on 16 Jul 2020, 11:24:07
Wait, did you already enabled it in my game?
Size43 (Administrator) on 16 Jul 2020, 15:05:29
I pushed a server patch yesterday that allows users to ban themselves. This should be working for you as well.