MTA:Eir/functions/engineGetActiveStreamingFreeSlotCount
This function returns how many streaming node are available to allocate inside of the streaming garbage collection system. When entities allocate RenderWare data, they want to have a streaming node too. Failure to allocate it results in deletion of its RenderWare data.
Syntax
int engineGetActiveStreamingFreeSlotCount ()
Returns
Returns the amount of free nodes inside the streaming garbage collector.
Example
addEventHandler( "onClientRender", root,
function()
local count = engineGetActiveStreamingFreeSlotCount();
dxDrawText( "#free-streaming-slots: " .. count, 100, 420 );
end
);
</section>