Pool::maxStreamed

From RAGE Multiplayer Wiki
Revision as of 12:10, 13 August 2024 by Shr0x (talk | contribs) (Created page with " {{ClientsideJsFunction}} {{JSContainer| Returns the max size of entity stream per stream distance * '''Note: this property is read only.''' ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.Entity.maxStreamed </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> mp.events.add("playerReady", () => { mp.console.logInfo(`Max player stream pool is ${mp.players.maxStreamed}`); //Output: Max player stream po...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax

Returns the max size of entity stream per stream distance

  • Note: this property is read only.

Return value

  • number

Syntax

mp.Entity.maxStreamed

Example

mp.events.add("playerReady", () => {
    mp.console.logInfo(`Max player stream pool is ${mp.players.maxStreamed}`); //Output: Max player stream pool is 200
})


See also