GetElementModel

From Multi Theft Auto: Wiki
Revision as of 14:07, 7 June 2008 by Siyo (talk | contribs)
Jump to navigation Jump to search

Returns the model ID of a given element. This can be a player/ped skin, a pickup model, 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