RemoveElementData

From Multi Theft Auto: Wiki
Revision as of 18:07, 18 June 2009 by Awwu (talk | contribs)
Jump to navigation Jump to search

This function removes the element data with the given key for that element. The element data removal is synced with all the clients.

Syntax

bool removeElementData ( element theElement, string key ) 

Required Arguments

  • theElement: The element you wish to remove the data from.
  • key: The key string you wish to remove.

Returns

Returns true if the data was removed succesfully, false if the given key does not exist in the element or the element is invalid.

Example

--TODO

See Also