_

(no description)

Functions

CPPIGetOwner()

View source »

Get the owner of this entity

Returns

  • Player, boolean or nil

    Owning player if found, true if world, nil if player not found

  • integer

    Ownning player UniqueID or CPPI enum if not found

CPPISetOwner(self, ply)

View source »

Set the owner of this entity

Parameters

  • self Entity

  • ply Player

Returns

  • boolean

CPPISetOwnerless(self, Bool)

View source »

Set the owner of this entity to no one/world

Parameters

  • self Entity

  • Bool boolean optional

    If it should set it as world (true) or N/A (false)