EngineRequestModel

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

BETA: FROM VERSION 1.5.7 r20147 ONWARDS
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

BETA: FROM VERSION 1.5.7 r19626 ONWARDS
BETA: FROM VERSION 1.5.7 r20147 ONWARDS
BETA: FROM VERSION 1.5.7 r20416 ONWARDS
BETA: FROM VERSION 1.5.7 r20383 ONWARDS