Garry's Mod Wiki

Player:GetObserverTarget

Player:GetObserverTarget

  Entity Player:GetObserverTarget()

Description

Returns the entity the player is currently observing.

Set using Player:SpectateEntity.

Returns

1 Entity
The entity the player is currently spectating, or NULL if the player has no target.

Special Pages


Wikis

?

Render Time: 69ms

DB GetPage 47
Generate Html 4
SaveChanges (1) 7
Render Body 0
Render Sidebar 8