ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. engineGetModelFlags

Function

engineGetModelFlags

ClientGame engineIdentical to MTA:SA

Returns the model flags set with engineSetModelFlag as a name -> true/false table.

Syntax

table engineGetModelFlags(int modelID)

Arguments

modelIDint
The model.

Returns

A flag table.

Example

for name, on in pairs(engineGetModelFlags(1271) or {}) do outputChatBox(name .. " = " .. tostring(on)) end

See also