gta.createElement

Revision as of 00:22, 11 December 2019 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

Element gta.createElement(int elementType)

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

Parameters

1) int elementType The type of the element.

Return

Element The created element.

Notes

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Server Related

        destroyElement
        getElementCount
        getElementFromId
        getElementFromName
        getElements
        getElementsByType

        element.children
        element.clearExistsFor
        element.dimension
        element.existsFor
        element.getData
        element.getRotation
        element.id
        element.isCreatedFor
        element.isLocal
        element.isOwner
        element.isSyncer
        element.isType
        element.name
        element.netFlags
        element.parent
        element.position
        element.removeAllData
        element.removeData
        element.resource
        element.rotation
        element.setData
        element.setExistsFor
        element.setRotation
        element.setSyncer
        element.streamInDistance
        element.streamOutDistance
        element.syncer
        element.syncerId
        element.type


Client Related

        destroyElement
      getElementCount
        getElementFromId
        getElementFromName
      getElements
        getElementsByType

        element.children
        element.clearExistsFor
        element.dimension
        element.existsFor
        element.getData
        element.getRotation
        element.id
        element.isCreatedFor
        element.isLocal
        element.isOwner
        element.isSyncer
        element.isType
        element.name
        element.netFlags
        element.parent
        element.position
        element.removeAllData
        element.removeData
        element.resource
        element.rotation
        element.setData
        element.setExistsFor
        element.setRotation
        element.setSyncer
        element.streamInDistance
        element.streamOutDistance
        element.syncer
        element.syncerId
        element.type