SetElementID

From Multi Theft Auto: Wiki
Revision as of 12:38, 16 August 2007 by Arc (talk | contribs)
Jump to navigation Jump to search

This function sets the ID of an element to a string. This can be anything from an identifying number, to a name.

Syntax

bool setElementID ( element theElement, string name ) 

Required Arguments

  • theElement: The element you want to set the ID of.
  • name: The new ID for theElement.

Returns

This returns true if successful. It will return false if theElement is invalid, or does not exist, or if name is invalid, or is not a string.

Example

Example goes here...

See Also