Miscellaneous

getfflag

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

Syntax

getfflag(name: string): string | nil

Argumente

NameTypBeschreibung
namestringExact fast flag name to read.

Rückgaben

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

Beschreibung

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

Rufe es mit 1 Parameter(n) auf: name. Die Argumenttabelle erklärt, welche Werte erforderlich sind und welche nur das Verhalten verfeinern.

Es gibt flagValue (string | nil) zurück. Nutze die Rückgabetabelle, um erfolgreiche Werte von nil-Ergebnissen und behandelbaren Fehlern zu trennen.

Beispiel

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