engineGetPoolDefaultCapacity | Multi Theft Auto: Wiki Skip to content

engineGetPoolDefaultCapacity

Client-side
Server-side
Shared

Added in 1.6.0 r22471

This function returns the default capacity of the provided pool.

Syntax

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

Returns

  • int: defalt capacity

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

Code Examples

Script Example Missing

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

Contribution guidelines

See Also

Engine Functions