Named in the code or data of server, client.
PlayerHeroChangedEvent[GameEventHandler("player_hero_changed")]
public HookResult OnPlayerHeroChanged(PlayerHeroChangedEvent args) {
// args.Userid
return HookResult.Continue;
}| Field | Type | Deadworks property | Valve's comment |
| userid | player_pawn | Userid CBasePlayerPawn? | user ID on server |