samp.directory
← Scripts e bibliotecas

Shazanxz/FovChanger

A Lua script for SA-MP that gives you full control over your Field of View (FOV)

Ferramenta★ 1atualizado mai. de 2026OtherLua
Abrir no GitHub

README.md

FOV Changer

A Lua script for SA-MP (San Andreas Multiplayer) that gives you full control over your Field of View (FOV) adjust it in real time through a sleek ImGui interface.

Features

  • Adjust FOV freely between 30 and 120 using an interactive slider
  • Enable or disable the custom FOV at any time — resets to the default (70.0) when disabled
  • Sniper-aware: automatically restores the default FOV when holding a sniper rifle, then re-applies your custom value when you switch back
  • Dark purple-themed UI built with ImGui

Requirements

  • SAMPFUNCS
  • moonloader (Lua scripting engine for GTA SA)
  • Lua libraries: imgui, inicfg, encoding (included with moonloader)

Installation

  1. Download fov.lua.
  2. Place it inside your moonloader scripts folder:
    GTA San Andreas/moonloader/
    
  3. Launch GTA SA and SA-MP. The script loads automatically.

Usage

ActionDescription
/fovOpens / closes the FOV Changer window
Enable checkboxToggles the custom FOV on or off
FOV sliderDrag to set your desired FOV (30–120)

All changes are saved automatically to FOVSettings.


fov-changergtasaluasa-mp

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página