Skip to content

engineGetModelServerID

Client-side

Available in Neon, not standard MTA

Reverse-resolves a client runtime slot to its stable server logical model ID.

Syntax

int|false engineGetModelServerID(int runtimeModel)

Arguments

runtimeModelint

Client-local GTA runtime slot.

Returns

The server logical ID, or false when the slot is not server-managed.

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 →