removeWorldModel | Multi Theft Auto: Wiki Skip to content

removeWorldModel

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 is used to remove a world object. Use restoreWorldModel to reverse this action.

Note

Removing world models doesn't remove their occlusions. This may cause nearby map parts to disappear. Use setOcclusionsEnabled (false) to fix it.

Syntax

removeWorldModel ( )

Code Examples

server

This example will removes buildings on BigEar:

removeWorldModel(16617, 1000, -300, 1556, 75) --lod
removeWorldModel(16616, 1000, -300, 1556, 75) --lod
removeWorldModel(16615, 1000, -300, 1556, 75) --lod
removeWorldModel(16138, 1000, -300, 1556, 75) -- model

See Also

World Functions