Documentación de Real

Miscellaneous

getfflag

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

Sintaxis

getfflag(name: string): string | nil

Argumentos

NombreTipoDescripción
namestringExact fast flag name to read.

Retornos

NombreTipoDescripción
flagValuestring | nilString form of the flag value, or nil when the flag is missing or unsupported.

Descripción

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

Llamalo con 1 parametro(s): name. La tabla de argumentos explica que valores son obligatorios y cuales refinan el comportamiento.

Devuelve flagValue (string | nil). Usa la tabla de retornos para separar valores correctos, resultados nil y errores recuperables.

Ejemplo

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