Miscellaneous

getfflag

Reads a Roblox fast flag by exact name and returns its value as a string.

Sintaxe

getfflag(name: string): string | nil

Argumentos

NomeTipoDescrição
namestringExact fast flag name to read.

Retornos

NomeTipoDescrição
flagValuestring | nilString form of the flag value, or nil when the flag is missing or unsupported.

Descrição

Reads a Roblox fast flag by exact name and returns its value as a string. Missing or unsupported flags return nil.

Chame com 1 parametro(s): name. A tabela de argumentos explica quais valores sao obrigatorios e quais refinam o comportamento.

Retorna flagValue (string | nil). Use a tabela de retornos para separar valores bem sucedidos, nil e erros recuperaveis.

Exemplo

Read a Roblox fast flag by exact name. Known bool and int flags are returned as strings.

local value = getfflag("SomeFFlagName")

if value ~= nil then
    print(value)
end