Miscellaneous

getfflag

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

構文

getfflag(name: string): string | nil

引数

名前説明
namestringExact fast flag name to read.

戻り値

名前説明
flagValuestring | nilString form of the flag value, or nil when the flag is missing or unsupported.

説明

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

1 個のパラメータで呼び出します: name。引数表では必須値と動作を調整する値を確認できます。

flagValue (string | nil) を返します。戻り値表を使って成功値、nil 結果、回復可能なエラーを分けて扱ってください。

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