EngineGetPoolCapacity

From Multi Theft Auto: Wiki
Revision as of 14:11, 22 June 2024 by TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function returns the capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> number engineGetPoolCapacity( string pool ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool ===Returns=== The capacity of the provided pool as positive number {{Engine_pools}} ==See Also== {{Engine_functions}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.6.0 r22471:
This function returns the capacity of the provided pool.

Syntax

number engineGetPoolCapacity( string pool )

Required Arguments

  • pool: Name of the pool

Returns

The capacity of the provided pool as positive number

Engine pools

Name Default size Resizable Description
building 13000 yes Static world objects. Terrain, roads, buildings...
dummy 2500 no Dynamic world objects. Doors, fences, boxes
ped 140 no Peds
object 1200 no Scriptable objects
vehicle 110 no Vehicles
col-model 12000 no
task 5000 no
event 5000 no
task-allocator 16 no
ped-intelligence 64 no
ped-attractor 64 no
entry-info-node 72600 no
node-route 64 no
patrol-route 32 no
point-route 64 no
pointer-double-link-pool 74800 no
pointer-single-link-pool 90000 no
env-map-material 16000 no
env-map-atomic 4000 no
spec-map-material 16000 no

See Also