createElement

From GTA Connected
(Redirected from CreateElement)
Jump to: navigation, search

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

Element createElement(int elementType)

Description

The createElement function is used to create an element of the specified type.

Parameters

Type Name Presence Default Value Description
int elementType required n/a The type of the element.

Returns

Success Returns

Type Description
Element The created element.

Failure Returns

Type Value
null n/a

Notes

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