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

Function

getSFXBankSoundCount

ClientSound (client)Trilogy Hub only

Without a bank number it returns the number of banks in the container. With a bank number it returns the number of sounds in that bank.

Syntax

int getSFXBankSoundCount(string audioContainer [, int bankIndex])

Arguments

audioContainerstring
The container.
bankIndexint, optional
The bank number.

Returns

A number, or false for a wrong container or bank.

Example

outputChatBox("genrl: " .. getSFXBankSoundCount("genrl") .. " bankow")

See also