Quote:
Originally Posted by dr_lex
Release 5.0 alpha
This is an early version, and a new version with 40-50% changes will be released soon.
The new version adds support for saving AFK
|
This does not save on afk...all events related to afk(player_team, player_afk, bot_player_replace) fire too quickly in order to GetPlayerWeaponSlot in time to save it...if you printtochat or printtoserver you will see this is the case. In order to properly get this to save when players go idle you'll need to save more aggressively. weaponcanusepost sdkhook is a good place to start, i use a similar method in one of my plugins. When doing things like this, always print out results to make sure its working as intended. Good Luck.