EntityList_t

This type represents an entity list.

triangle-exclamation

ForEach

Method

Loops the entities.

Arguments

Name

Type

Description

fn

function(EntityEntry_t)

Function callback.

Returns

Nothing.

Example

entities.players:ForEach(function (entry)
    -- ...
end);

ForEachZ

Method

Loops the entities in the reverse order.

Arguments

Name

Type

Description

fn

function(EntityEntry_t)

Function callback.

Returns

Nothing.

Example

Last updated