Miscellaneous

getfpscap

Returns the current FPS cap value represented by Roblox, or 0 when the value cannot be read.

Söz dizimi

getfpscap(): number
Aliaslar get_fps_cap

Dönüşler

AdTipAçıklama
fpsCapnumberCurrent FPS cap value, or 0 when unavailable.

Açıklama

Returns the current FPS cap value represented by Roblox, or 0 when the value cannot be read.

Parametresiz cagir. Fonksiyon gerekli contexti mevcut runtime durumundan okur.

fpsCap (number) dondurur. Basarili degerleri, nil sonuclari ve toparlanabilir hatalari ayirmak icin return tablosunu kullan.

Örnek

Read the FPS cap value currently represented by the TaskScheduler cap field.

local fpsCap = getfpscap()
print(fpsCap)