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

Function

isElementSyncer

ClientElementsIdentical to MTA:SA

Checks whether the local player computes the element's physics.

Syntax

bool isElementSyncer(element theElement)

Arguments

theElementelement
The element.

Returns

true if this player does.

Example

if isElementSyncer(vehicle) then
    outputChatBox("Twoja gra liczy to auto.")
end

See also