EngineSetPoolCapacity

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

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

Syntax

boolean engineSetPoolCapacity( string pool, number capacity )

Required Arguments

  • pool: Name of the pool
  • capacity : New size

Returns

true if the pool capacity was changed and false if not. Throws an error if the pool is invalid.

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