engineRestoreModel | Multi Theft Auto: Wiki Skip to content

engineRestoreModel

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


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

Syntax

engineRestoreModel ( )

Code Examples

client

Client-Side example for restoring model / vehicle.

function ResetModel ( )
engineRestoreModel ( 587 ) -- Object / Vehicle to restore to default GTA one.
end
addEvent ( "restoreClientModel", true )
addEventHandler ( "restoreClientModel", root, ResetModel )

See Also

Engine Functions
Engine Elements