Player/GetObserverTarget

From Garry's Mod
Revision as of 21:54, 12 April 2017 by Code gs (Talk | contribs)
Jump to: navigation, search
 Player:GetObserverTarget( )

Description

Returns the entity the player is currently observing. Returns "no value" if the player has no target.

Set using Player:SpectateEntity.

Returns

Entity

The entity the player is currently spectating.
Personal tools
Navigation