IntroductionAccount ManagerDecompiler

Scripting

Closures
Debug
Reflection
Metatable
Environment
Bit
Scripts
LuaStateProxy
oth

Instances & Events

Instances
Cache
Signals
VoltSignal
Actors

System

Filesystem
Input
Console
Crypt
Encoding
Miscellaneous
clearqueueonteleportget_process_identifiergetfflaggetfpscapgethwididentifyexecutormessageboxqueueonteleportrequestsaveinstancesaveplacesetclipboardsetfflagsetfpscapsetrbxclipboard

Graphics & Network

Drawing
WebSocket
RakNet
DocsGuidesRelease Notes
Miscellaneous

getfpscap

Gets the current FPS cap.

Syntax

getfpscap() -> number

Returns

TypeDescription
numberCurrent FPS cap

Description

getfpscap returns the current maximum FPS setting.

Example

local currentCap = getfpscap()
print("Current FPS cap:", currentCap)

if currentCap == 0 then
    setfpscap(60)
else
    setfpscap(0)
end

Related Functions

  • setfpscap - Set FPS cap

getfflag

Previous Page

gethwid

Next Page

On this page

SyntaxReturnsDescriptionExampleRelated Functions