Boost Fps

How to increase Fps, the purpose of this code is to set Fps in the city, and it can also be for players/citizens with LOW PC specs (Potatoes).

RegisterCommand("fps",function(source,args)
  if args[1] == "fps on" then
       SetTimecycleModifier("cinema")
       TriggerEvent("Notify","success","Fps Boost Enabled!")
  elseif args[1] == "fps off" then
      SetTimecycleModifier("default")
      TriggerEvent("Notify","success","Fps Boost Disabled!")
  end
end)

Last updated