Player/GetObserverTarget

From Garry's Mod
Revision as of 01:49, 3 July 2018 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Player:GetObserverTarget( )

Description

Returns the entity the player is currently observing.

Set using Player:SpectateEntity.

Returns

Entity

The entity the player is currently spectating, or NULL if the player has no target.
Personal tools
Navigation