Sintaks
getfflagtype(name: string): "string" | "bool" | "int" | "unknown"Argumen
| Nama | Tipe | Deskripsi |
|---|---|---|
name | string | Exact fast flag name to inspect. |
Return
| Nama | Tipe | Deskripsi |
|---|---|---|
flagType | "string" | "bool" | "int" | "unknown" | Detected flag type string. |
Deskripsi
Returns the detected type for a Roblox fast flag as "string", "bool", "int", or "unknown". Missing or unsupported flags return "unknown".
Panggil dengan 1 parameter: name. Tabel argumen menjelaskan nilai wajib dan nilai yang hanya menyempurnakan perilaku.
Mengembalikan flagType ("string" | "bool" | "int" | "unknown"). Gunakan tabel returns untuk memisahkan nilai sukses, hasil nil, dan error yang bisa dipulihkan.
Contoh
Read the detected type for a Roblox fast flag by exact name.
local flagType = getfflagtype("SomeFFlagName")
if flagType ~= "unknown" then
print(flagType)
end