Version 2.5.0 · FiveM client resource · JustDevelopmentStudio
Enhanced third-person and first-person vehicle camera effects: safe gameplay-cam shake routing, on-foot pass-by, driving bursts, and an optional scripted FP vehicle camera.
- FiveM server with OneSync-compatible clients (standard GTA V /
ceruleanfx_version). - No external framework dependency; works alongside QBCore/ESX or standalone.
- Place
jds-betterCamsunder yourresourcesfolder (e.g.resources/[scripts]/jds-betterCams). - In
server.cfg:ensure jds-betterCams - Tune
config.luaas needed (see comments inside the file).
| Area | Script | Summary |
|---|---|---|
| Shared | config.lua, shared/bc_lib.lua |
Tuning tables; session-safe shake, FOV helpers, scripted-cam pairing. |
| On foot | client/cl_thirdPerson_ped.lua |
Movement shake + FOV; pass-by uses a radial ring + speed band → throttled cam shake. |
| Vehicle | client/cl_thirdPerson_vehicle.lua |
Damage-based shake (throttled); launch / high-speed one-shot holds; burnout (dedicated thread, continuous shake while detected). |
| First person (vehicle) | client/cl_firstPerson.lua |
Optional scripted interior camera (view mode 4), mouse look, FOV vs speed. |
| Exports | client/cl_exports.lua |
GameplayShake / TriggerGameplayShake for other resources; optional net event gated in config. |
Config.BetterCams:disableGameplayShake(emergency off),allowNetShakeEvents.Config.PassbyShake: radial inner/outer,minVehicleSpeedMph/maxVehicleSpeedMph, shake interval.Config.DamageShake: body health delta smoothing,shakeApplyIntervalMs.Config.DrivingShake: launch / high-speed edge triggers + cooldowns; burnout RPM + gas/brake fallback,burnoutShakeIntervalMs.Config.Camera: first-person vehicle cam (enable, sensitivity, FOV, release controls).
exports['jds-betterCams']:GameplayShake(intensity, shakeType, durationMs)
-- or
exports['jds-betterCams']:TriggerGameplayShake(intensity, shakeType, durationMs)Server/event wiring can use jds-betterCams:client:GameplayShake if allowNetShakeEvents is enabled.
Issues and PRs welcome for bugs and tuning improvements.
MIT — see LICENSE if present in the repository.
JustDevelopmentStudio