GetElementModel

From Multi Theft Auto: Wiki
Revision as of 12:21, 28 March 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Server client function}} Returns the model ID of a given element. This can be a player skin, an object model or a vehicle model. ==Syntax== <syntaxhighlight lang="lua"> int getElementModel ( ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns the model ID of a given element. This can be a player skin, an object model or a vehicle model.

Syntax

int getElementModel ( element theElement )

Required Arguments

  • theElement: the element to retrieve the model ID of.

Returns

Returns the model ID if successful, false otherwise.

See Also