Skip to content

engineGetModels

Server-side

Available in Neon, not standard MTA

Enumerates active server-managed logical model IDs, optionally filtered by type.

Syntax

table|false engineGetModels([string type])

Arguments

typestringoptional

Optional object, vehicle, or ped filter.

Returns

An array of logical model IDs, or false for an invalid filter.

Ownership and lifecycle

The server keeps logical IDs stable, but each client chooses its own GTA slot. When a resource stops, Neon moves surviving elements back to their parent model before freeing those slots.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →