ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client events
  3. onClientTransferBoxVisibilityChange

Event

onClientTransferBoxVisibilityChange

ClientResourcesIdentical to MTA:SA

The resource download bar appears or disappears. After the first download of all resources it arrives with false; later downloads give true at the start and false at the end. It does not mean the world is ready.

Handler

addEventHandler("onClientTransferBoxVisibilityChange", root, function(visible) ... end)

Parameters

visiblebool
Whether the download bar is visible.

Source

source is root.

Example

addEventHandler("onClientTransferBoxVisibilityChange", root, function(visible)
    if not visible then outputChatBox("Zasoby pobrane") end
end)

See also