OnClientTransferBoxProgressChange: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client event}} {{New feature/item|3.0160|1.5.8|20788|This event is triggered every time the resource file downloader (aka. transfer box) updates the download prog...")
 
No edit summary
Line 15: Line 15:
==Example==
==Example==
{{Needs_Example}}
{{Needs_Example}}
==Requirements==
{{Requirements||1.5.8-9.20788|}}


==See Also==
==See Also==

Revision as of 12:39, 18 January 2021

This event is triggered every time the resource file downloader (aka. transfer box) updates the download progress.

Parameters

number downloadedSizeTotal, number downloadTotalBytes
  • downloadedSizeTotal: total progress in bytes
  • downloadTotalBytes: download total size in bytes

Source

The source of this event is the root element.

Example

Accessories-text-editor.png Script Example Missing Event OnClientTransferBoxProgressChange needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


Requirements

Minimum server version
Minimum client version 1.5.8-9.20788

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version server="" client="1.5.8-9.20788" />

See Also

Client other events


Client event functions