engineRestoreModel | Multi Theft Auto: Wiki Skip to content

engineRestoreModel

Client-side
Server-side
Shared

This function restores the visual DFF model of the given model ID. This restores the result of engineReplaceModel.

OOP Syntax Help! I don't understand this!

  • Method:Engine.restoreModel(...)

Syntax

bool engineRestoreModel ( ​int modelID )
Required Arguments
  • modelID: The model ID to restore the visuals of.

Returns

  • bool: result

Returns true if the model was successfully restored, false or nil if it failed for some reason.

Code Examples

client
engineRestoreModel(587)

See Also

Engine Functions