getElementFromName

From GTA Connected
(Redirected from GetElementFromName)
Jump to navigation Jump to search

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

Element getElementFromName(string elementName)

Description

The getElementFromName function is used to fetch an element from it's name.

Parameters

Type Name Presence Default Value Description
string elementName required n/a The name of the element.

Returns

Success Returns

Type Description
Element An element which has the specified name.

Failure Returns

Type Value
null n/a

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

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