Skip to content

xT-Development/xt-fpslock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xt-fpslock


Features

  • Accurate real-time FPS measurment using configurable buffer size
  • Server defined FPS limit with configurable tolerance
  • Violation warnings for sustained excessive FPS
  • Configurable violation limits, dropping the player when they receive max FPS violations
  • Helper commands:
    • fpshelp - Show instructions to cap FPS via Nvidia, AMD, RTSS, Vsync
    • whatsmyfps - Display your current FPS and server FPS cap

Usage / Exports

exports['xt-fpslock']:getAverageFPS()       -- returns player average fps. this is the raw average. apply math.ceil/floor for integer value
exports['xt-fpslock']:getOverSustainTime()  -- returns how long the player has been over the fps limit

Dependencies

Previews

FPS Lock Help Warning Notification

About

FiveM FPS Lock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages