engineGetPoolUsedCapacity | Multi Theft Auto: Wiki Skip to content

engineGetPoolUsedCapacity

Client-side
Server-side
Shared

Added in 1.6.0 r22471

This function returns the used capacity of the provided pool.

Syntax

int engineGetPoolUsedCapacity ( ​string pool )
Required Arguments
  • pool: Name of the pool. See pools.

Returns

  • int: used capacity

Returns the used capacity of the provided pool as positive number or throws error if invalid argument passed.

Code Examples

Script Example Missing

Function engineGetPoolUsedCapacity needs a script example. Help out by writing one.

Contribution guidelines

See Also

Engine Functions