Jump to content

[HELP] Custom FPS


.:HyPeX:.

Recommended Posts

Well, its doing nothing, my FPS is still 53 if i set 60... no errors in debug

server

  
addEventHandler('onResourceStart', resourceRoot, function() 
setFPSLimit(0) 
end) 
  

client

  
local fps = 53 
  
addCommandHandler("sfps", function(cmd,val) 
if val then 
local val = math.floor(val) 
    if val > 48 and val < 61 then 
    setFPSLimit(val) 
    else 
    setFPSLimit(fps) 
    end 
end 
end) 
  
addEventHandler('onClientResourceStart', resourceRoot, function() 
setFPSLimit(53) 
end) 
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...