chandle
This type represents an entity handle.
get
Returns the entity, or nil if nothing found.
Arguments
None.
Returns
Type
Description
<type>
Entity instance.
Example
local ent = handle:get();valid
Returns true if the handle is valid.
Arguments
None.
Returns
Type
Description
bool
true if valid.
Example
if handle:valid() then
-- ...
endis_clientside
Returns true if the handle links to a client-side entity.
Arguments
None.
Returns
Type
Description
bool
true if client-sided.
Example
if handle:is_clientside() then
-- ...
endLast updated