EngineRequestModel

From Multi Theft Auto: Wiki
Revision as of 17:36, 8 September 2019 by Arran Fortuna (talk | contribs)
Jump to navigation Jump to search

This function is used to assign the next available model ID to a certain element type. Currently only "ped" is supported.

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

Needs checking / improving.

Syntax

bool engineRequestModel ( str elementType )

Required Arguments

  • elementType: this must be "ped".

Returns

Returns an integer of the model ID that was available to be assigned to the element type, false if no free model ID available or invalid element type.

Example

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

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


See Also