Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 10s ago· Viewing build 6726 (Sep 30 2026), not the latest

instructor_server_hint_create

game event

Declared in core.gameevents

Named in the code or data of server, client.

Deadworks (C#), as InstructorServerHintCreateEvent
[GameEventHandler("instructor_server_hint_create")]
public HookResult OnInstructorServerHintCreate(InstructorServerHintCreateEvent args) {
	// args.Userid, args.HintEntindex, args.HintName, args.HintReplaceKey, args.HintTarget,
	// args.HintActivatorUserid, args.HintTimeout, args.HintIconOnscreen, args.HintIconOffscreen,
	// args.HintCaption, args.HintActivatorCaption, args.HintColor, args.HintIconOffset,
	// args.HintRange, args.HintFlags, args.HintBinding, args.HintAllowNodrawTarget,
	// args.HintNooffscreen, args.HintForcecaption, args.HintLocalPlayerOnly, args.HintStartSound,
	// args.HintLayoutfile, args.HintVrPanelType, args.HintVrHeightOffset, args.HintVrOffsetX,
	// args.HintVrOffsetY, args.HintVrOffsetZ
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
useridplayer_controller
Userid CBasePlayerController?
user ID of the player that triggered the hint
hint_entindexlong
HintEntindex int
entity id of the env_instructor_hint that fired the event
hint_namestring
HintName string
what to name the hint. For referencing it again later (e.g. a kill command for the hint instead of a timeout)
hint_replace_keystring
HintReplaceKey string
type name so that messages of the same type will replace each other
hint_targetlong
HintTarget int
entity id that the hint should display at
hint_activator_useridplayer_controller
HintActivatorUserid CBasePlayerController?
playerslot of the activator
hint_timeoutshort
HintTimeout int
how long in seconds until the hint automatically times out, 0 = never
hint_icon_onscreenstring
HintIconOnscreen string
the hint icon to use when the hint is onscreen. e.g. "icon_alert_red"
hint_icon_offscreenstring
HintIconOffscreen string
the hint icon to use when the hint is offscreen. e.g. "icon_alert"
hint_captionstring
HintCaption string
the hint caption. e.g. "#ThisIsDangerous"
hint_activator_captionstring
HintActivatorCaption string
the hint caption that only the activator sees e.g. "#YouPushedItGood"
hint_colorstring
HintColor string
the hint color in "r,g,b" format where each component is 0-255
hint_icon_offsetfloat
HintIconOffset float
how far on the z axis to offset the hint from entity origin
hint_rangefloat
HintRange float
range before the hint is culled
hint_flagslong
HintFlags int
hint flags
hint_bindingstring
HintBinding string
bindings to use when use_binding is the onscreen icon
hint_allow_nodraw_targetbool
HintAllowNodrawTarget bool
if false, the hint will dissappear if the target entity is invisible
hint_nooffscreenbool
HintNooffscreen bool
if true, the hint will not show when outside the player view
hint_forcecaptionbool
HintForcecaption bool
if true, the hint caption will show even if the hint is occluded
hint_local_player_onlybool
HintLocalPlayerOnly bool
if true, only the local player will see the hint
hint_start_soundstring
HintStartSound string
Game sound to play
hint_layoutfilestring
HintLayoutfile string
Path for Panorama layout file
hint_vr_panel_typeshort
HintVrPanelType int
Attachment type for the Panorama panel
hint_vr_height_offsetfloat
HintVrHeightOffset float
Height offset for attached panels
hint_vr_offset_xfloat
HintVrOffsetX float
offset for attached panels
hint_vr_offset_yfloat
HintVrOffsetY float
offset for attached panels
hint_vr_offset_zfloat
HintVrOffsetZ float
offset for attached panels

History

  1. 6696–6745first dumped