ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server events
  3. onElementStopSync

Event

onElementStopSync

ServerElementsIdentical to MTA:SA

A player stopped computing an element's physics.

Handler

addEventHandler("onElementStopSync", root, function(oldSyncer) ... end)

Parameters

oldSyncerplayer
The previous syncer or false if they already left.

Source

source is the vehicle or object.

Example

addEventHandler("onElementStopSync", root, function(old)
    if not old then outputServerLog("Synchronizator wyszedł") end
end)

See also