문법
getfflag(name: string): string | nil인수
| 이름 | 타입 | 설명 |
|---|---|---|
name | string | Exact fast flag name to read. |
반환값
| 이름 | 타입 | 설명 |
|---|---|---|
flagValue | string | nil | String 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