FWB Vehicle Keys โ
๐ FWB Vehicle Keys โ Car Keys, Key Fob, Car Theft & Trackers โ
A complete vehicle keys system for FiveM. Players lock and unlock their cars, use a key fob with a real remote, hand out spare keys and keep track of their car. Thieves lockpick, hotwire and carjack, and plant GPS trackers. Locksmiths cut new keys and change locks.
There is no config file. Everything is set in game with /fwb_vehiclekeys and saved in the database, which creates its tables on first start.
Works on ESX, QBCore and Qbox, detected automatically.
๐ Keys โ
- Items or saved keys โ the admin picks. As items, a
vehiclekeycarries its plate and can be handed over, dropped or stolen. As saved keys, every player has a key list and nothing can be lost. - Key kinds โ owner's key, spare, temporary (rentals, test drives), stolen (found in a car, on a body, or thrown by a carjacked driver) and job keys.
- Owners always have their key โ read from your framework's owned-vehicles table. A car bought at any dealership works for its owner within seconds, with no export to add to the dealership.
- Stolen keys โ work until the owner changes the locks, or for a time you set. In items mode they are real key items too, with the plate on them.
- Change the locks โ every older key of that car stops working, and the owner gets a new one. Anyone who tries an old key is told "The owner already changed the locks on this car".
- Job keys โ members of a job, from a set rank, get keys to cars by plate start or by model.
๐ Key Fob & Key Ring โ
Lock key โ tap to lock or unlock the nearest car you have a key for. Hold it (1.5 s by default) to take out the key fob. The notification says which car: Car locked โ Albany Manana ยท KO1Z1H9 is locked.
Key fob โ the screen shows the distance, signal, lock state and plate. The buttons are lock, unlock, trunk, remote engine, Summon (the car drives itself to you, from up to 100 m by default, 150 m at most) and Track (your car on the map for a while).
Seats โ
/seatshuffle(renamable) moves you to the next free seat. Passengers are no longer slid into an empty driver seat by GTA (switchable).Key ring โ every key you hold, and for each car:
- windows and doors one by one;
- hazard lights and the interior light;
- changing seats;
- the car's history ("last used").

Spares โ give a spare to a nearby player (limit per car, optional fee) and take spares back.
Hand a car over โ a nearby player becomes the owner, with new locks.
Lock chirp, flashing lights and fob animation, seen by players near the car.
๐จ Car Theft โ
| Feature | What it does |
|---|---|
| NPC cars | Parked cars and cars on the road are locked by chance, or always, or never. Rules by vehicle type, model or plate come first: for example, emergency cars always locked and bicycles never. |
| Lockpick | Two items (carlockpick, advancedlockpick) with their own chances. A disc-lock puzzle; the pick may break and the alarm may go off. |
| Hotwire | In the driver seat without a key: a screwdriver-in-the-ignition puzzle. |
| Search the car | A chance to find the key in the car, once per car. |
| Carjacking | Threaten an NPC driver with a gun, a melee weapon or bare hands (admin's choice): aim at the driver or anywhere on the car. A progress bar shows the threat. The car is braked and held, the driver keeps their hands up, then throws the key at your feet and runs (pick it up with E), runs off with it, drives off or fights back. You set the share of each. Police always get the key (switchable). A carjacked car you drive with its key is kept: the game no longer tidies it away as traffic. |
| Search the body | A dead NPC driver may have the key. A driver who ran off with the key always has it. |
| Alarm & police alerts | Chance per action, through your dispatch script or the built-in alert: a POLICE ALERT card for on-duty police (what happened, the car and plate, the street, how far and which way) and a flashing map blip. |
| Owner alerts | The owner is told their car is being stolen. |


๐ก GPS Trackers โ
- Plant a tracker โ lie under the car and wire it in (a wiring minigame). It sits under the body as a real prop, out of sight from outside, and you can see it on a lift or when the car flips. Its holder follows the car on the map until the battery dies. When the car is not in the city (in a garage, or gone) the card says NO SIGNAL and the blip turns grey where it was last seen.
- Owner's own tracker โ owners fit their own to find their car, get theft alerts and use a remote kill switch.
- Scanner โ a handheld scanner (GTA's digiscanner). Walk round the car and press E at each spot, side by side, to find a hidden tracker. Police can read who planted it.


- Pliers โ lie under the car and cut the right wire. A wrong wire can sound the alarm, blow a spark or fry the tracker.
๐ง Locksmiths โ
- Places set in game where the admin stands: a ped with your target script or "[E]" 3D text, and a map blip with its own icon, colour and size.
- Services: new key, spare key, change the locks, new number plate (with a cooldown), and a shop for trackers, detectors and pliers.
๐งฉ Minigames โ
- Four built-in puzzles: lockpick, hotwire, wire cutting and wire attaching. Each has three difficulties you can tune on the Minigames page, with a live preview.
- Or pick another minigame script for each puzzle: ox_lib, ps-ui or your own.
๐ ๏ธ For Developers โ
- Simple and detailed exports on the server and the client: keys, owners, plates, locks, windows, hazards, indicators, trackers, a plate generator, and switching features off for everyone or for one player. See Exports โ Server and Exports โ Client.
- Hooks like ox_inventory: stop any action with your own rules, or react after it happens. See Hooks & Events.
- Works with scripts made for other key systems โ
vehiclekeys:client:SetOwner, qs-vehiclekeys, mk_vehiclekeys, wasabi_carlock, jaksam and t1ger style calls. - Built for 1000+ player servers โ no loops over every player, small targeted network messages, cached data, and every call checked on the server. A player's own cars are read once when they join; many players asking about the same car share one database query. On start, the script warns you if your owned-vehicles table is missing an index it needs.
Package โ
| Package | Resource Folder | Frameworks | Category |
|---|---|---|---|
| Script Package | fwb_vehiclekeys | ESX, QBCore, Qbox | FiveM Script |
client/, server/ and shared/ are escrowed. bridge/ and locale/ stay open, so you can connect any framework, inventory, notification, target, dispatch or minigame script and write your own hooks.
Documentation โ
- Installation โ items, pictures, server.cfg and admin access
- Configuration โ the in-game admin panel, page by page
- Commands โ
/fwb_vehiclekeysand the default keys - Exports โ Client โ client exports
- Exports โ Server โ server exports
- Hooks & Events โ stop actions or react to them
- Integrations โ garages, dealerships, bridges and other key scripts
- Common Errors โ troubleshooting and FAQ
