GetElementModel: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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 ( ...)
 
mNo edit summary
Line 2: Line 2:
{{Server client function}}
{{Server client function}}


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


==Syntax==
==Syntax==

Revision as of 12:33, 28 March 2008

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