Quote:
Originally Posted by dr_lex
A delay of 3 seconds is sufficient for issuing and saving via player_team.
But if you want you can post your own save option as an alternative
|
In order to properly save afk...use player_bot_replace event...save the bots weapons to the arrays, not the players, then transfer the bots weapon arrays over to the players weapon arrays immediately after saving the bots. The reason why is because these events are only notifications, the player no longer has weapons because the event already happened before the notification. Their team has already changed, but the bots weapons do exist...I have worked extensively on this issue with my own private plugin, it works doing it like this. Use bot_player_replace event to restore them to the player. If u need help fixing it i am willing to help.