ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. engineGetPoolCapacity

Function

engineGetPoolCapacity

ClientGame engineIdentical to MTA:SA

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"))

See also