RestoreWorldModel: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
==Syntax==
==Syntax==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool restoreWorldModel ( modelID, radius, x, y, z )
bool restoreWorldModel ( int modelID, float radius, float x, float y, float z )
</syntaxhighlight>
</syntaxhighlight>



Revision as of 17:04, 25 January 2012

This function allows restoring of world object,which was removed with RemoveWorldModel.

Syntax

bool restoreWorldModel ( int modelID, float radius, float x, float y, float z )

Returns

Returns true if the world object was restored, false otherwise.

Requirements

Minimum server version 1.2.0-9.03618
Minimum client version 1.2.0-9.03618

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version server="1.2.0-9.03618" client="1.2.0-9.03618" />

See Also