Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 7s ago· Viewing build 6742 (Oct 02 2026), not the latest

client_player_hero_changed

game event

Declared in game.gameevents

Named in the code or data of client.

Deadworks (C#), as ClientPlayerHeroChangedEvent
[GameEventHandler("client_player_hero_changed")]
public HookResult OnClientPlayerHeroChanged(ClientPlayerHeroChangedEvent args) {
	// args.Userid
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
useridplayer_pawn
Userid CBasePlayerPawn?

History

  1. 6696–6745first dumped