Kick already disconnected player
#6

Quote:
Originally Posted by XVlaDX
View Post
That's primarily because of the delay between the ban and kick functions. A lot of servers delay the kick process by around a second or two to enable for a ban message to be sent to the player being banned. What I assume happened in your case is that two admins banned an individual in the same instant or in the aforementioned time frame.
You can fix that by assigning a variable (say BeingKicked[playerid] = true) to whoever you set that delayed timer to, and on /ban or /kick commands you just do a check to make sure that BeingKicked variable is set to false before executing anything.
Reply


Messages In This Thread
Kick already disconnected player - by ScIrUsna - 20.06.2016, 08:10
Re: Kick already disconnected player - by Matz - 20.06.2016, 12:03
Re: Kick already disconnected player - by XVlaDX - 20.06.2016, 13:45
Re: Kick already disconnected player - by ScIrUsna - 20.06.2016, 13:47
Re: Kick already disconnected player - by XVlaDX - 20.06.2016, 13:50
Re: Kick already disconnected player - by [KHK]Khalid - 20.06.2016, 16:17
Re: Kick already disconnected player - by NaS - 20.06.2016, 17:05

Forum Jump:


Users browsing this thread: 1 Guest(s)