01.09.2009, 21:51
Hi,
I created an AFK system for my GM.
The players can go AFK by typing /afk and go back by writing any message or command.
But now I additionally want to set the status of a player automatically to AFK, if he/she does nothing for a while.
How can I check if a player is AFK?
Maybe in OnPlayerUpdate()?
I created an AFK system for my GM.
The players can go AFK by typing /afk and go back by writing any message or command.
But now I additionally want to set the status of a player automatically to AFK, if he/she does nothing for a while.
How can I check if a player is AFK?
Maybe in OnPlayerUpdate()?