Named in the code or data of client.
BotTakeoverEvent[GameEventHandler("bot_takeover")]
public HookResult OnBotTakeover(BotTakeoverEvent args) {
// args.UseridController, args.UseridPawn, args.Botid, args.P, args.Y, args.R
return HookResult.Continue;
}| Field | Type | Deadworks property | Valve's comment |
| userid | player_controller_and_pawn | UseridController CBasePlayerController? UseridPawn CBasePlayerPawn? | |
| botid | player_controller | Botid CBasePlayerController? | |
| p | float | P float | |
| y | float | Y float | |
| r | float | R float |