MTA:Eir/functions/engineIsInfiniteStreamingEnabled: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ This function returns whether infinite streaming node allocation is enabled. With it being enabled, the only limitation to world entity streaming is the clientside har...") |
(No difference)
|
Latest revision as of 19:03, 10 December 2013
This function returns whether infinite streaming node allocation is enabled. With it being enabled, the only limitation to world entity streaming is the clientside hardware.
By default, infinite streaming is disabled.
Syntax
bool engineIsInfiniteStreamingEnabled ()
Returns
Returns true if infinite streaming is enabled, false otherwise.
Example
Click to collapse [-]
ClientThis snippet prints out to the user whether infinite streaming is enabled.
addCommandHandler( "inf_stream", function() local isEnabled = engineIsInfiniteStreamingEnabled(); outputChatBox( "Infinite Streaming Node Allocation is " .. ( isEnabled and "" or "not " ) .. "enabled." ); end );