Skip to content

engineGetModelAvailableCount

Server-side

Available in Neon, not standard MTA

Returns the number of additional model definitions the calling resource may allocate.

Syntax

int engineGetModelAvailableCount()

Returns

Remaining per-resource capacity, or 0 when there is no calling resource.

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 →