getfflag
Reads an engine fast flag.
Syntax
getfflag(name: string) -> string
Also available as
get_fflag
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | The fast flag's name, without a prefix such as FFlag or DFInt. |
Returns
| Type | Description |
|---|---|
string | The flag's current value as text. |
Description
Fast flags are the client's tuning switches. The value is always returned as a string, so "true", "false" and numbers come back as text; convert them yourself when needed. An unknown name raises an error.
Example
local value = getfflag("TaskSchedulerTargetFps")
print(value, tonumber(value))
Notes
- The name must be a string; a number raises an error.
These are Game executor contracts. Check build requirements and session lifetimes before using them.
