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

player_used_ability

game event

Declared in game.gameevents

Named in the code or data of server, client.

Deadworks (C#), as PlayerUsedAbilityEvent
[GameEventHandler("player_used_ability")]
public HookResult OnPlayerUsedAbility(PlayerUsedAbilityEvent args) {
	// args.Player, args.Caster, args.Abilityname, args.Annotation
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
playerplayer_pawn
Player CBasePlayerPawn?
casterehandle
Caster CBaseEntity?
abilitynamestring
Abilityname string
annotationstring
Annotation string

History

  1. 6696–6745first dumped