samp.directory
← Скрипты и библиотеки

Shazanxz/FovChanger

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

Инструмент★ 1обновлён май 2026 г.OtherLua
Открыть на 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

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью