engineSetModelFlags | Multi Theft Auto: Wiki Skip to content

engineSetModelFlags

Client-side
Server-side
Shared

Pair: engineGetModelFlags

Added in 1.6.0 r21695

This function changes model flags.

OOP Syntax Help! I don't understand this!

  • Method:Engine.setModelFlags(...)

Syntax

bool engineSetModelFlags ( ​int modelID, ​int flags, ​bool ideFlags )
Required Arguments
  • modelID: ID of the model you want to change.
  • flags: Flags.
  • ideFlags: Use IDE flag format.

Returns

  • bool: result

Returns true if model flags was successfully changed, throws an error otherwise

Code Examples

Script Example Missing

Function engineSetModelFlags needs a script example. Help out by writing one.

Contribution guidelines

See Also

Engine Functions