ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. isElementLocal

Function

isElementLocal

ClientElementsIdentical to MTA:SA

Checks whether an element exists only for this player (created by a client script, unknown to the server).

Syntax

bool isElementLocal(element theElement)

Arguments

theElementelement
The element.

Returns

true for a local element.

Example

local zone = createColSphere(0, 0, 3, 5)
outputChatBox(tostring(isElementLocal(zone)))