EngineSetModelFlags

From Multi Theft Auto: Wiki
Revision as of 19:05, 16 April 2023 by TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function changes model flags.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineSetModelFlags( int modelID, int flags [, bool ideFlags] ) </syntaxhighlight> {{OOP||Engine.setModelFlags}} ===Required Arguments=== * '''modelID''': ID of the model you want to change. * '''flags''': flags. ===Optional Arguments=== {{OptionalArg}} * '''ideFlags''': use IDE flag format. ===Returns=== Returns ''true'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.6.0 r21695:
This function changes model flags.

Syntax

boolean engineSetModelFlags( int modelID, int flags [, bool ideFlags] )


OOP Syntax Help! I don't understand this!

Method: Engine.setModelFlags(...)


Required Arguments

  • modelID: ID of the model you want to change.
  • flags: flags.

Optional Arguments

NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.

  • ideFlags: use IDE flag format.

Returns

Returns true if model flags was successfully changed, false otherwise.

See Also