Named in the code or data of server.
AbilityAddedEvent[GameEventHandler("ability_added")]
public HookResult OnAbilityAdded(AbilityAddedEvent args) {
// args.Userid, args.Ability
return HookResult.Continue;
}| Field | Type | Deadworks property | Valve's comment |
| userid | player_pawn | Userid CBasePlayerPawn? | |
| ability | ehandle | Ability CBaseEntity? |