Jump to content

[HELP] Custom FPS


.:HyPeX:.

Recommended Posts

Posted

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) 
  

Posted
What did you write in the mtaserver.conf ?

Whats up with that? i set the fps limit to 60 in the server via admin panel, mtaserver.conf is not easy to grab (vps server).

is it really relative?

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...