EngineGetPoolUsedCapacity: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function returns the used capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> number engineGetPoolUsedCapacity( string pool ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool ===Returns=== The used capacity of the provided pool as positive number {{Engine_pools}} ==See Also== {{Engine_functions}}")
 
(No difference)

Latest revision as of 14:08, 22 June 2024

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

Syntax

number engineGetPoolUsedCapacity( string pool )

Required Arguments

  • pool: Name of the pool

Returns

The used 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