Składnia
getfpscap(): numberAliasy
get_fps_capZwroty
| Nazwa | Typ | Opis |
|---|---|---|
fpsCap | number | Current FPS cap value, or 0 when unavailable. |
Opis
Returns the current FPS cap value represented by Roblox, or 0 when the value cannot be read.
Wywolaj bez parametrow. Funkcja czyta potrzebny kontekst z aktualnego stanu runtime.
Zwraca fpsCap (number). Uzyj tabeli zwrotow, aby oddzielic wartosci sukcesu, wyniki nil i bledy do obsluzenia.
Przykład
Read the FPS cap value currently represented by the TaskScheduler cap field.
local fpsCap = getfpscap()
print(fpsCap)