RemoveElementData

From Multi Theft Auto: Wiki
Revision as of 10:33, 16 January 2008 by ChrML (talk | contribs) (New page: {{Server function}} __NOTOC__ This function removes the element data with the given key for that element. The element data removal is synced with all the clients. ==Syntax== <syntaxhighlight lang="lua">[...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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


See Also