- Documentation
- Client functions
- engineGetPoolCapacity
Function
engineGetPoolCapacity
Returns the capacity of a game pool, e.g. "building", "ped", "object", "vehicle", "col-model", "task". Trilogy Hub enlarges the pools when the game starts.
Syntax
int engineGetPoolCapacity(string pool)Arguments
poolstring- Pool name.
Returns
The capacity or false.
Example
outputChatBox("Obiekty: " .. engineGetPoolUsedCapacity("object") .. "/" .. engineGetPoolCapacity("object"))