element.setExistsFor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
|returnFail1 = void | |returnFail1 = void | ||
|usage = sets whether or not the element should exist for this client | |usage = sets whether or not the element should exist for this client | ||
|notes = | |notes = When creating an element, it will exist for all clients by default, so using this function isn't necessary unless you turn off [[element.defaultExistance|element.defaultExistance]] at some point. You can use [[element.getExistsFor|element.getExistsFor]] to see if this element exists for a specific client, and [[element.clearExistsFor|element.clearExistsFor]] to clear the list of clients added by this function. | ||
}} | }} | ||
Revision as of 19:36, 31 May 2025
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