engineRestoreCOL | Multi Theft Auto: Wiki Skip to content

engineRestoreCOL

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 original collision model of the given model ID. Reverses the effect of engineReplaceCOL.

Syntax

engineRestoreCOL ( )

Code Examples

client

Client-Side example for restoring object collision with default one.

function RestoreCollision ( )
engineRestoreCOL ( 3356 )
end
addEvent ( "collisionRestore", true )
addEventHandler ( "collisionRestore", getRootElement(), RestoreCollision )

See Also

Engine Functions
Engine Elements