Need help with plugins or servers? Join our Discord

Modding Database

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

entity_visible

game event

Declared in core.gameevents

Named in the code or data of server.

Deadworks (C#), as EntityVisibleEvent
[GameEventHandler("entity_visible")]
public HookResult OnEntityVisible(EntityVisibleEvent args) {
	// args.Userid, args.Subject, args.Classname, args.Entityname
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
useridplayer_controller
Userid CBasePlayerController?
The player who sees the entity
subjectlong
Subject int
Entindex of the entity they see
classnamestring
Classname string
Classname of the entity they see
entitynamestring
Entityname string
name of the entity they see

History

  1. 6696–6745first dumped