element.setExistsFor

From GTA Connected
Revision as of 04:01, 26 December 2021 by Vortrex (talk | contribs) (Created page with "{{ScriptItem |endpoint = server |type = method |class = Element |name = setExistsFor |parameters = Client client, [ bool forced = false ] |parameter1 = Client client The clien...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Available since Server 1.0.0

void element.setExistsFor(Client client, [ bool forced = false ])

The element.setExistsFor method is used to sets whether or not the element should exist for this client.

Parameters

1) Client client The client to set whether the element exists for or not.
2) bool exists Whether or not the element will exist for this client.

Return

void This method doesn't return a value.

Types

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

Notes

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.

Related

Server Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png destroyElement
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getElementCount
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getElementFromId
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getElementFromName
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getElements
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getElementsByType

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