- Documentation
- Client events
- onClientTransferBoxVisibilityChange
Event
onClientTransferBoxVisibilityChange
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)