
gp_passengerCombat
gp_passengerCombat is a combat script for FiveM that fixes and enhances the native GTA V vehicle shooting mechanics. It utilizes custom raycast and vector calculations to allow you to accurately shoot other passengers or the driver within the same vehicle.
DOWNLOAD
Features
- Precise Hit Detection: Mathematical trajectory calculation to reliably hit players and NPCs inside the vehicle.
- Dynamic Firing Modes: Supports both precise aiming and blind firing. Can be restricted via the config.
- First-Person Restriction: Option to restrict interior shooting to First-Person (FP) mode. This prevents accidental friendly fire when players just want to do a regular drive-by in Third-Person.
ox_inventoryAmmo Sync: Built-in ammo synchronization forox_inventoryto prevent “ghost bullets”, infinite ammo glitches, and desyncs.- Exploit-Proof: Server-side validation to avoid exploiting events.
- Standalone: Framework agnostic! Does not require ESX, QBCore, or any other framework to work.
Requirements
- Framework: None! (100% Standalone)
- Optional: ox_inventory (Native ammo sync is already integrated out of the box)
Video Showcase
Installation
- Add to resources folder
- Add
ensure gp_passengerCombatto your config file