Jump to navigation Jump to search
|Hook name||playerSetAFK(Player ply, boolean afk)|
|When a player is set to AFK or returns from AFK.|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerSetAFK]playerSetAFK hook[/url][/b]|
- ply (Player)
- afk (boolean)
True when the player starts being AFK, false when the player stops being AFK.
This hook does not accept return values. You can still return a value to override the default implementation of this hook.