engineStreamingGetUsedMemory | Multi Theft Auto: Wiki Skip to content

engineStreamingGetUsedMemory

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


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

Syntax

int engineStreamingGetUsedMemory ( )

Returns

  • int: value

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

Code Examples

shared

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
)

See Also

Engine Functions
Engine Elements