30.03.2016, 06:05
Quote:
Hmmm , can you explain more, can't understand ?
Veh mod ? ban them ? why |
To the OP: Perhaps one hack-y solution would be to treat the OnPlayerDisconnect callback like a destructor would be used in several OOP languages. You could try to close all menus and/or dialogs which were left open by the player, so that (s)he won't be banned upon immediate connection.
Another approach would be to consider whether or not the player has spawned yet, and if (s)he hasn't then the script won't ban him (or her).