EngineFreeModel: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (reverted)
No edit summary
Line 1: Line 1:
bool = engineFreeModel(id)
__NOTOC__
{{Client function}}
{{New feature/item|3.0160|1.5.7|20147|This function is used to un-assign the specified model ID from the [[engineRequestModel]] assignment.}}
{{Note|
Needs checking / improving.}}


https://github.com/multitheftauto/mtasa-blue/commit/34d4eed068f9c957d977044e8c7fd36e087ff09a
==Syntax==
<syntaxhighlight lang="lua">
bool engineFreeModel ( int modelID )
</syntaxhighlight>
===Required Arguments===
*'''modelID''': the model ID you want to have un-assigned.


Note: reverted in https://github.com/multitheftauto/mtasa-blue/commit/242684e5a17e78cd6f7ac36ba362836114b51671
===Returns===
Returns ''true'' if the model was successfully freed, ''false'' otherwise.
 
==Example==
{{Example}}
 
==See Also==
{{Engine functions}}

Revision as of 17:03, 8 September 2019

This function is used to un-assign the specified model ID from the engineRequestModel assignment.

[[{{{image}}}|link=|]] Note:

Needs checking / improving.

Syntax

bool engineFreeModel ( int modelID )

Required Arguments

  • modelID: the model ID you want to have un-assigned.

Returns

Returns true if the model was successfully freed, false otherwise.

Example

Accessories-text-editor.png Script Example Missing Function EngineFreeModel needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO


See Also