element.removeData

From GTA Connected
Jump to: navigation, search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

void element.removeData(string dataName)

Description

The element.removeData method is used to remove info set by Element::setData, referenced by name.

Parameters

Type Name Presence Default Value Description
string dataName required n/a The string name of the data to remove for the element.

Returns

Success Returns

Type Description
void This method doesn't return any values on success.

Failure Returns

Type Value
void n/a

Types

This method can be used on types: Blip Building Civilian Element Entity Marker Object Ped Physical Player Transformable Vehicle.

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.

Related

Server Related

createElement
destroyElement
getElementFromId
getElementFromName
getElementsByType

element.children
element.dimension
element.getData
element.id
element.isType
element.name
element.onAllDimensions
element.parent
element.removeAllData
element.removeData
element.resource
element.setData
element.setSyncer
element.syncer
element.type


Client Related

createElement
destroyElement
getElementFromId
getElementFromName
getElementsByType

element.children
element.dimension
element.getData
element.id
element.isLocal
element.isSyncer
element.isType
element.name
element.parent
element.removeAllData
element.removeData
element.setData
element.syncer
element.type