Sintaks
getfpscap(): numberAlias
get_fps_capReturn
| Nama | Tipe | Deskripsi |
|---|---|---|
fpsCap | number | Current FPS cap value, or 0 when unavailable. |
Deskripsi
Returns the current FPS cap value represented by Roblox, or 0 when the value cannot be read.
Panggil tanpa parameter. Fungsi membaca context yang dibutuhkan dari status runtime saat ini.
Mengembalikan fpsCap (number). Gunakan tabel returns untuk memisahkan nilai sukses, hasil nil, dan error yang bisa dipulihkan.
Contoh
Read the FPS cap value currently represented by the TaskScheduler cap field.
local fpsCap = getfpscap()
print(fpsCap)