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