Not named anywhere in the server, client or engine binaries. It may be fired by scripts, or not at all.
PlayerBotReplaceEvent[GameEventHandler("player_bot_replace")]
public HookResult OnPlayerBotReplace(PlayerBotReplaceEvent args) {
// args.Player, args.Bot
return HookResult.Continue;
}| Field | Type | Deadworks property | Valve's comment |
| player | short | Player int | user ID of the player |
| bot | short | Bot int | user ID of the bot |