Named in the code or data of server.
EntityVisibleEvent[GameEventHandler("entity_visible")]
public HookResult OnEntityVisible(EntityVisibleEvent args) {
// args.Userid, args.Subject, args.Classname, args.Entityname
return HookResult.Continue;
}| Field | Type | Deadworks property | Valve's comment |
| userid | player_controller | Userid CBasePlayerController? | The player who sees the entity |
| subject | long | Subject int | Entindex of the entity they see |
| classname | string | Classname string | Classname of the entity they see |
| entityname | string | Entityname string | name of the entity they see |