Garry's Mod Wiki

Entity:GetOwner

  Entity Entity:GetOwner()

Description

Returns the owner entity of this entity. See Entity:SetOwner for more info.

Returns

1 Entity
The owner entity of this entity.