chandle

This type represents an entity handle.

You can also compare this type using a == operator.

get

Method

Returns the entity, or nil if nothing found.

Arguments

None.

Returns

Type

Description

<type>

Entity instance.

Example

local ent = handle:get();

valid

Method

Returns true if the handle is valid.

Arguments

None.

Returns

Type

Description

bool

true if valid.

Example


is_clientside

Method

Returns true if the handle links to a client-side entity.

Arguments

None.

Returns

Type

Description

bool

true if client-sided.

Example

Last updated