EngineStreamingGetUsedMemory

From Multi Theft Auto: Wiki
Revision as of 05:19, 21 September 2021 by Rplgn (talk | contribs)
Jump to navigation Jump to search

20901

Syntax

int engineStreamingGetUsedMemory ( )

Returns

  • Returns a int containing the amount of memory in bytes.

Example

This example gets the amount of memory used by the streamer when the resource starts:

addEventHandler ("onClientResourceStart", resourceRoot,
    function ()
        outputChatBox ("Used memory by the GTA streamer: "..engineStreamingGetUsedMemory ()..".")
    end
)

Requirements

This template will be deleted.

See Also