setfpscap
Sets the highest frame rate the game may run at.
Signature
setfpscap(fps: number): ()Parameters
fpsnumberThe cap in frames per second. 0 removes the cap.
Returns
Nothing.
Example
setfpscap(60)
print(getfpscap()) --> 60
setfpscap(0) -- no cap