engineGetPoolCapacity | Multi Theft Auto: Wiki Skip to content

engineGetPoolCapacity

Client-side
Server-side
Shared

Pair: engineSetPoolCapacity

Added in 1.6.0 r22471

This function returns the capacity of the provided pool.

Syntax

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

Returns

  • int: capacity

Returns the capacity of the provided pool as a positive number, or throws an error if an invalid argument is passed.

Code Examples

Script Example Missing

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

Contribution guidelines

See Also

Engine Functions