element.defaultExistance

Revision as of 03:52, 26 December 2021 by Vortrex (talk | contribs) (Created page with "{{ScriptItem |endpoint = server |type = property |class = Element |name = defaultExistance |readonly = false |usage = get/set whether or not this element exists for everyone b...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Available since Server 1.0.0

bool element.defaultExistance

The element.defaultExistance property is used to get/set whether or not this element exists for everyone by default.

Value

bool A boolean representing whether or not this element exists for everyone by default.
read/set This property can be changed, as well as read.

Types

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

Notes

  • If defaultExistance is disabled, you can use element.setExistsFor to make element exist for individual clients. For example, if you want a server blip to exist for one player (or multiple players, but only the ones you specify).

Examples

There aren't any examples for this property.

Compatibility

There isn't any compatibility information for this property.

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