Back to Resources
Free script

FR Vehicle Aim

A small QoL tweak that makes a big difference: the moment you aim inside any vehicle, the game automatically switches to first-person view. When you stop aiming, you get back exactly the camera you had before — third person, hood, cinematic…

Zero configClient-onlyNo dependencies

v1.0.0 · ~ 4 KB · Updated: 2026-06-30 · ESX · QBCore · qbx_core · Standalone

How it works

Three states, one client loop. No server, no database.

01

In a vehicle

The script detects the player is driving and starts watching the aiming state.

02

You aim

Saves your current camera and instantly switches to first-person (mode 4) for the shot.

03

You stop aiming

Restores exactly the camera mode you had before: third person, hood, cinematic or whatever it was.

What's included

Auto first-person

Switches to first-person (cam view 4) the exact moment you start aiming inside a vehicle.

Smart restore

Saves your previous camera mode (third person, hood, cinematic…) and restores it when you release the weapon.

Zero config

No convars, no database, no dependencies. Drop it in resources and add ensure fr_vehicle_aim. Done.

100% client-side

All code runs client-side. Zero server load — no server-side events, no database calls.

Installation

One resource, one file, thirty seconds.

  1. 1Copy the fr_vehicle_aim folder into your resources/ directory.
  2. 2Add the following line to your server.cfg:
  3. 3Restart the server or run refresh + ensure fr_vehicle_aim in the console.
ensure fr_vehicle_aim
No MySQL, no dependencies, no framework required.

Compatibility

Works with any framework because it doesn't touch the server or the database.

Compatible with ESX, QBCore, qbx_core and standalone servers. Also plays nicely alongside fiverank_guard, fiverank_intro and fiverank_deck.

Full documentation

README with description, requirements and detailed installation instructions.

Open docs

Upgrade your server's gunplay in 30 seconds

One Lua file, zero dependencies. Our simplest resource — and one of the most appreciated.

Log in to download

Cookie Settings

We use cookies to improve your experience, analyze traffic and provide additional features. You can accept all cookies, reject them or customize your preferences.