Skip to content

engineGetModelType

Server-side

Available in Neon, not standard MTA

Returns whether a server-managed model is an object, vehicle, or ped.

Syntax

string|false engineGetModelType(int model)

Arguments

modelint

Logical model ID.

Returns

object, vehicle, ped, or false when the model is unknown.

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 →