> For the complete documentation index, see [llms.txt](https://docs.rainmad.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rainmad.com/resources/server-optimizer-fivem-and-redm/features/fps-menu.md).

# FPS menu

Players open it with **F10** or `/fps`. It opens on the right of the screen, so the game stays visible and every change shows at once. Choices are saved per player on your server.

## The live readout

* **FPS** in green, amber or red against the target frame rate.
* **Frame**: the average frame time in milliseconds.
* **1% low**: the frame rate of the slowest frames of the last 10 seconds. Stutter shows here first.
* **The graph**: every frame of the last 4 seconds. Red dots are frames that took more than twice the target.

## Presets

| Preset   | For                                    |
| -------- | -------------------------------------- |
| Off      | The game exactly as it ships.          |
| Quality  | Cuts only what is hard to see.         |
| Balanced | The best trade for most players.       |
| Low      | Older PCs. Pop in is visible.          |
| Potato   | Everything down.                       |
| Auto     | Holds the target frame rate by itself. |

Changing any option after picking a preset turns it into **Custom**.

## Options

**Distance**: draw distance, view distance, people and vehicles detail, hide the far horizon, hide distant traffic.

**Shadows**: shadow distance, shadow layers, shadows only near you, sharp shadow edges, no shadows from lamps and headlights.

**Lights and effects**: cheap reflections, no water reflections, hide distant lights, effects distance, no bullet holes and blood, no fog volumes.

**Population**: pedestrians and traffic (on RedM townsfolk, wagons and riders, wildlife).

**Video memory**: low video memory mode.

**Smart**: Auto with a target frame rate, lighter while moving fast, lighter inside buildings.

**Display**: an FPS counter in the corner while the menu is closed.

Each option shows its usual gain (High, Med, Low). The real gain depends on the PC and the place: run the benchmark.

## Benchmark

Stand still somewhere busy and press **Run benchmark**. It measures 10 seconds with every option off, then 10 seconds with the player's settings, and shows the average and 1% low of both with the difference.

## Auto

Auto checks the frame rate every 2 seconds. When it stays under the target it lowers draw distance, view distance, shadow distance and effects step by step, never under your limits in `cfg.lua`, and raises them again when there is room. It changes slowly on purpose, so nothing flickers.

## Fair play

While a player aims or shoots, draw distance goes back to at least normal, so lowering it can't be used to see through trees and fences in a fight. Server owners set the lowest allowed values in [cfg.lua](file:///7339819/configuration/cfg-lua.md).

## Works with your other scripts

The menu never clears another script's screen effect, weather or lights. View distance, shadow layers and reflections use the game's second effect slot; if another script is using that slot at the moment, those three wait and the menu says so.

## RedM

RedM has fewer of these settings available to scripts. The menu shows only what works there: people and vehicle detail, shadows only near you, distant lights, effects distance, townsfolk, wagons and riders, wildlife, Auto and the counter.
