element.isOwner

Revision as of 04:30, 2 December 2020 by Mex (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |type = property |class = Element |name = isOwner |readonly = true |usage = check whether the local client owns this element. Owning an element...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Read-Only

Available since Client 1.0.0

bool element.isOwner

The element.isOwner property is used to check whether the local client owns this element. Owning an element controls existence of the element, whilst synchronizing an element controls synchronization of the element.

Value

bool A boolean representing whether or not the client is the owner for the element.
readonly This property cannot be changed.

Types

Shared Blip
Shared Building
Shared Element
Shared Entity
Shared Marker
Shared Object
Shared Ped
Shared Physical
Shared Player
Shared Vehicle

Notes

There aren't any notes for this property.

Examples

There aren't any examples for this property.

Compatibility

There isn't any compatibility information for this property.

Related

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