Free Resources
filo_bolt
A 3D lug nut minigame for FiveM vehicle wheel interactions.
filo_bolt is a standalone FiveM resource that renders physical lug nut entities on a vehicle wheel and lets players interact with each one individually using a 3D cursor.
It is designed to slot into any mechanic, tyre, or vehicle repair workflow via a single blocking export — no framework coupling, no NUI overhead.
How it works
When Start() is called, the resource:
- Spawns bolt entities evenly distributed around the target wheel bone
- Locks input and enables the mouse cursor
- Raycasts from the cursor each frame to detect which bolt is hovered
- On click, animates the bolt rotating around its Y-axis
- Resolves the promise once all bolts are rotated (or the player cancels)
- Cleans up all entities and restores the camera
Bolts that are loosened detach and fall with physics. Bolts that are tightened lock in place.
Dependencies
ox_lib— required forcache.ped- No framework (ESX / QBCore / etc.) required
File structure
filo_bolt/
├── client/
│ ├── cl-init.lua -- Global constants
│ ├── cl-camera.lua -- Scripted camera
│ ├── cl-bolt.lua -- Bolt spawning, animation, cleanup
│ ├── cl-raycast.lua -- Cursor raycast utility
│ ├── cl-sound.lua -- Audio bank + playback
│ └── cl-main.lua -- Orchestration + export
├── config.lua
└── fxmanifest.lua