Hooks called by Observer

Summary

Hooks

Called on the server when a player enters observer mode, to decide whether they are put back where they entered it once they leave.

Hooks

ShouldObserverReset(actor)

server plugins/observer/plugin/sv_hooks.lua:27

Called on the server when a player enters observer mode, to decide whether they are put back where they entered it once they leave.

Parameters

  • actor Player The player entering observer mode

Returns

  • Boolean Return false to leave the player where they stop observing

Called from

Call sites

Defined in