- Documentation
- Client functions
- isTransferBoxActive
Function
isTransferBoxActive
Checks whether the client is downloading resource files right now (a resource start or downloadFile).
Syntax
bool isTransferBoxActive()Returns
true while downloading.
Example
if isTransferBoxActive() then
outputChatBox("Poczekaj, aż pliki się pobiorą.")
end
See also
downloadFileDownloads a resource file marked inmeta.xmlas<file src="..." download="false"/>only when it is needed (e.g. a large music file). The result arrives in theonClientFileDownloadCompleteevent, always asynchronously, also when the file was already downloaded.":resource/file"downloads another resource's file.onClientTransferBoxProgressChangeFile download progress (a resource start ordownloadFile), at most about 10 times per second. Useful for your own download bar.