EngineSetModelFlag

From Multi Theft Auto: Wiki
Revision as of 16:57, 21 July 2023 by TheNormalnij (talk | contribs)
(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 specific model flag.

Syntax

boolean engineSetModelFlag( int modelID, string flagName, bool state )

Required Arguments

  • modelID: ID of the model you want to set flag.
  • flagName: flag name.
  • state: flag state.

Returns

Returns boolean with flag state, throws an error otherwise.

See Also