element.existsFor

Revision as of 00:26, 30 December 2021 by Vortrex (talk | contribs) (Created page with "{{ScriptItem |endpoint = server |type = method |class = Element |name = existsFor |parameters = Client client |parameter1 = Client client The client to get whether or not the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Method Server Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0

bool element.existsFor(Client client)

The element.existsFor method is used to gets whether or not the element exists for the specified client.

Parameters

1) Client client The client to get whether or not the element exists for.

Return

bool Documentation Missing: Description for return value

Types

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

Notes

  • If element.defaultExistance the element will exist for all clients by default, thus this function will always return true if this is the case.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.

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