element.setExistsFor: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{{ScriptItem |endpoint = server |type = method |class = Element |name = setExistsFor |parameters = Client client, [ bool forced = false ] |parameter1 = Client client The clien...")
 
No edit summary
Line 4: Line 4:
|class = Element
|class = Element
|name = setExistsFor
|name = setExistsFor
|parameters = Client client, [ bool forced = false ]
|parameters = Client client, bool exists
|parameter1 = Client client The client to set whether the element exists for or not
|parameter1 = Client client The client to set whether the element exists for or not
|parameter2 = bool exists Whether or not the element will exist for this client
|parameter2 = bool exists Whether or not the element will exist for this client

Revision as of 04:02, 26 December 2021

setExistsFor

Signature: void setExistsFor(Client client, bool exists)

Usage: sets whether or not the element should exist for this client

Parameters

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

Return

void

On failure: void