<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/MTA:Eir/functions/engineStreamingGetProperty?action=history&amp;feed=atom</id>
	<title>MTA:Eir/functions/engineStreamingGetProperty - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/MTA:Eir/functions/engineStreamingGetProperty?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MTA:Eir/functions/engineStreamingGetProperty&amp;action=history"/>
	<updated>2026-04-29T07:26:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=MTA:Eir/functions/engineStreamingGetProperty&amp;diff=77729&amp;oldid=prev</id>
		<title>Tracer: Renamed template</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MTA:Eir/functions/engineStreamingGetProperty&amp;diff=77729&amp;oldid=prev"/>
		<updated>2023-09-28T08:21:47Z</updated>

		<summary type="html">&lt;p&gt;Renamed template&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:21, 28 September 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*&lt;/del&gt;Client_function}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;MTA:Eir/&lt;/ins&gt;Client_function}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__NOTOC__  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__NOTOC__  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This function returns the current behavior of the GTA:SA streaming system. Use it for debugging purposes.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This function returns the current behavior of the GTA:SA streaming system. Use it for debugging purposes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-wiki_dev_:diff::1.12:old-39179:rev-77729 --&gt;
&lt;/table&gt;</summary>
		<author><name>Tracer</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=MTA:Eir/functions/engineStreamingGetProperty&amp;diff=39179&amp;oldid=prev</id>
		<title>The GTA: Created page with &quot;{{*Client_function}} __NOTOC__  This function returns the current behavior of the GTA:SA streaming system. Use it for debugging purposes.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; var engineStr...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MTA:Eir/functions/engineStreamingGetProperty&amp;diff=39179&amp;oldid=prev"/>
		<updated>2014-03-29T16:09:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{*Client_function}} __NOTOC__  This function returns the current behavior of the GTA:SA streaming system. Use it for debugging purposes.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; var engineStr...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{*Client_function}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function returns the current behavior of the GTA:SA streaming system. Use it for debugging purposes.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
var engineStreamingGetProperty ( string propertyName )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Arguments===&lt;br /&gt;
*'''propertyName:''' the name of the streaming property you want to change&lt;br /&gt;
&lt;br /&gt;
===Valid Properties===&lt;br /&gt;
{{:MTA:Eir/functions/engineStreamingSetProperty/validProps}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''the property value''' if valid arguments have been passed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Examples== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This snippet enables infinite Streaming node allocation after two seconds of node shortage.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local firstNodeShortageTime = false;&lt;br /&gt;
local nodeShortageDuration = 2000;&lt;br /&gt;
&lt;br /&gt;
local function isNodeShortage()&lt;br /&gt;
    return engineGetActiveStreamingFreeSlotCount() == 0;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function enableStrictlessNodeAllocation( enabled )&lt;br /&gt;
    engineStreamingSetProperty( &amp;quot;infiniteStreaming&amp;quot;, enabled );&lt;br /&gt;
    engineStreamingSetProperty( &amp;quot;strictNodeDistrib&amp;quot;, not enabled );&lt;br /&gt;
    return true;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addEventHandler( &amp;quot;onClientPreRender&amp;quot;, root,&lt;br /&gt;
    function()&lt;br /&gt;
        local isShortage = isNodeShortage();&lt;br /&gt;
&lt;br /&gt;
        if ( isShortage ) then&lt;br /&gt;
            local now = getTickCount();&lt;br /&gt;
&lt;br /&gt;
            if not ( firstNodeShortageTime ) then&lt;br /&gt;
                firstNodeShortageTime = now;&lt;br /&gt;
            elseif ( now - firstNodeShortageTime &amp;gt; nodeShortageDuration ) then&lt;br /&gt;
                engineStrictlessNodeAllocation( true );&lt;br /&gt;
            end&lt;br /&gt;
        else&lt;br /&gt;
            firstNodeShortageTime = false;&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This snippet doubles the amount of frame time the fibered loader is allowed to take when the Streaming system is busy.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local normalFiberedPerc = false;&lt;br /&gt;
&lt;br /&gt;
addEventHandler( &amp;quot;onClientPreRender&amp;quot;, root,&lt;br /&gt;
    function()&lt;br /&gt;
        local isBusy = engineGetStreamingInfo().isBusy;&lt;br /&gt;
&lt;br /&gt;
        if ( isBusy ) then&lt;br /&gt;
            if not ( normalFiberedPerc ) then&lt;br /&gt;
                normalFiberedPerc = engineStreamingGetProperty( &amp;quot;fiberedPerfMult&amp;quot; );&lt;br /&gt;
                engineStreamingSetProperty( &amp;quot;fiberedPerfMult&amp;quot;, normalFiberedPerc * 2 );&lt;br /&gt;
            end&lt;br /&gt;
        elseif ( normalFiberedPerc ) then&lt;br /&gt;
            engineStreamingSetProperty( &amp;quot;fiberedPerfMult&amp;quot;, normalFiberedPerc );&lt;br /&gt;
&lt;br /&gt;
            normalFiberedPerc = false;&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;/div&gt;</summary>
		<author><name>The GTA</name></author>
	</entry>
</feed>