General > Developers Corner
Hook for Ban/Kick
BLEEP_BLOOP:
Is there a hook called when someone gets banned or kicked with ULX. If not, is there some way similar that would accomplish this? Any help is appreciated.
iViscosity:
Looking at the Github for ULX it looks like it just uses the Player Kick function on the Garry's Mod Wiki.
BLEEP_BLOOP:
Yes, I know that, but is a hook called when it kicks/bans the player? If not, what would be the best way of checking for a kick/ban?
iViscosity:
--- Quote from: BLEEP_BLOOP on July 31, 2016, 12:08:39 AM ---Yes, I know that, but is a hook called when it kicks/bans the player? If not, what would be the best way of checking for a kick/ban?
--- End quote ---
It just uses a Gmod function, I don't think it uses a hook. You could check the server logs.
BLEEP_BLOOP:
I'm looking for some way to check if a player has been kicked or banned. So what do you think is the best way to check that through GLua?
Navigation
[0] Message Index
[#] Next page
Go to full version