EngineSetModelFlags: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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'...")
 
mNo edit summary
 
Line 2: Line 2:
{{Client function}}
{{Client function}}


{{New feature/item|4|1.6.0|21695|This function changes model flags.}}
{{New feature/item|4|1.6.0|21695|This function changes [[Model flags|model flags]].}}


==Syntax==
==Syntax==

Latest revision as of 19:08, 16 April 2023

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