EngineStreamingGetUsedMemory

From Multi Theft Auto: Wiki
Revision as of 20:51, 23 September 2021 by Lvrent (talk | contribs)
Jump to navigation Jump to search

This function gets the amount of memory (in bytes) used by the GTA streamer.

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