FreeScriptQBoxQBCoreESX
sd-gunracks
by Samuels-Development · version 1.0.0 · updated 23 days ago
No reviews yet
- Downloads
- 0
- Reviews
- 0
- Size
- 23.7 MB
- Code check
- Clean
- Licence
- GPL-3.0
- Released
- Nov 2026
Gun racks for FiveM: ten floor, wall and table racks that hold the real weapons from your inventory, fitted slot by slot against the game's own models. Locks, a
sd-gunracks
sd-gunracks adds ten gun racks to FiveM that players place themselves: on the floor, on a wall or on a table. A rack holds the real weapons from the player's inventory. Each one is drawn in its slot as the game's own model with its attachments and tint, and it keeps its serial, ammo and components until someone takes it back out. Racks lock, open to chosen jobs and gangs, can be forced with a lockpick, and police can seize from them. Staff get a full console.
Download · Store · Discord
Works together: sd-gunracks · sd-interact
Support Me
If you're enjoying sd-gunracks and want to support my work, consider picking up a script from Samuel's Development. Every purchase helps me keep building and improving free resources like this one.
Screenshots
The racks are rendered in Blender from the models this resource streams, loaded with the game's own weapon models at the exact positions the resource puts them in. The console and the placer's strip are captured from their page with sample data. Click an image for the full 1920×1080 version.
Item, Rack, Mount, Slots
Compatibility
Layer, Supported
Frameworks, QBCore, QBox, ESX (auto-detected)
Inventories, ox_inventory, qb-inventory, qs-inventory, ps-inventory, lj-inventory, codem-inventory, tgiann-inventory, origen_inventory, jaksam_inventory, one_inventory (auto-detected)
Target, sd-interact when it runs, otherwise ox_target, qb-target or qtarget
Dispatch, cd_dispatch, ps-dispatch, qs-dispatch, linden_outlawalert, core_dispatch, fd_dispatch, codem-dispatch, tk_dispatch, origen_police
Racks follow routing buckets: players only see and use the racks in their own bucket. A gun keeps its serial, attachments and ammo on inventories that store weapon metadata.
Installation
Download **
File, What's in it
`configs/share
…
sd-gunracks adds ten gun racks to FiveM that players place themselves: on the floor, on a wall or on a table. A rack holds the real weapons from the player's inventory. Each one is drawn in its slot as the game's own model with its attachments and tint, and it keeps its serial, ammo and components until someone takes it back out. Racks lock, open to chosen jobs and gangs, can be forced with a lockpick, and police can seize from them. Staff get a full console.
Download · Store · Discord
Works together: sd-gunracks · sd-interact
Support Me
If you're enjoying sd-gunracks and want to support my work, consider picking up a script from Samuel's Development. Every purchase helps me keep building and improving free resources like this one.
Screenshots
The racks are rendered in Blender from the models this resource streams, loaded with the game's own weapon models at the exact positions the resource puts them in. The console and the placer's strip are captured from their page with sample data. Click an image for the full 1920×1080 version.
TIPHighlights
Running sd-interact? Every slot gets its own floating prompt ("Take Combat Pistol", "Rack Assault Rifle") instead of a target eye, and the racks switch to it by themselves when it starts.
- Ten racks. Four that stand (an oak floor rack, an olive A-frame that takes twelve, a cherry corner rack, a table-top pistol stand) and six that hang (a walnut rack, a steel panel, a tactical pegboard, a magnetic pistol board, a pipe rack, a single-gun heritage plaque). 60 slots between them, each model with its own baked textures.
- The real gun, in its place. Every slot was measured against the game's own weapon models: 291 fits across 58 firearms, from the musket to the heavy sniper. A gun rests on its hooks or stands in its notch instead of floating near them. Addon weapons fall back to a fit worked out from their size.
- Nothing is lost. A racked gun keeps its serial, ammo, durability, attachments and tint, and comes back out exactly as it went in.
- Placing with the gizmo. A see-through rack appears where you look, flat on the wall you aim at or on the floor under you. Drag it with the game's editor gizmo, snap it, and press Enter. It turns red, with the reason, wherever it can't go.
- Who may use it. Racks start locked to their owner. Unlock one for everyone nearby, or have staff open it to jobs and gangs from a chosen grade.
- Forcing and seizing. A lockpick and a skill check open someone else's locked rack, and the police get an alert through your dispatch resource. Police jobs can seize any gun, and each seizure is logged with the serial and the owner.
- A staff console.
/gunrackslists every rack and every stored gun on the server. Staff can open a rack, go to it, unlock it, change its access, take one gun, give the rack to a player or delete it, place staff racks anywhere, hand out rack items, and read the full audit log. - Safe by design. Every request is checked, paced and logged on the server. A rack is written to the database before any gun changes hands, so a failed save never duplicates or destroys a weapon.
Item, Rack, Mount, Slots
gunrack_oak, Oak Floor Rack, floor, 8 long gunsgunrack_armory, Armory A-Frame, floor, 12 long gunsgunrack_corner, Cherry Corner Rack, floor, in a corner, 5 long gunsgunrack_stand, Pistol Stand, table top, 5 handgunsgunrack_walnut, Walnut Wall Rack, wall, 6 long gunsgunrack_panel, Steel Wall Panel, wall, 3 long gunsgunrack_pegboard, Tactical Pegboard, wall, 2 long guns, 6 handgunsgunrack_pistols, Pistol Display Board, wall, 8 handgunsgunrack_pipe, Industrial Pipe Rack, wall, 4 long gunsgunrack_heritage, Heritage Display, wall, 1 long gunCompatibility
Layer, Supported
Frameworks, QBCore, QBox, ESX (auto-detected)
Inventories, ox_inventory, qb-inventory, qs-inventory, ps-inventory, lj-inventory, codem-inventory, tgiann-inventory, origen_inventory, jaksam_inventory, one_inventory (auto-detected)
Target, sd-interact when it runs, otherwise ox_target, qb-target or qtarget
Dispatch, cd_dispatch, ps-dispatch, qs-dispatch, linden_outlawalert, core_dispatch, fd_dispatch, codem-dispatch, tk_dispatch, origen_police
Racks follow routing buckets: players only see and use the racks in their own bucket. A gun keeps its serial, attachments and ammo on inventories that store weapon metadata.
Installation
Download **
sd-gunracks.zip** from the latest release and unzip it into your resources folder: it is the resource with its console already built, ready to drop in.
IMPORTANTIt needs OneSync, ox_lib and oxmysql. Start them, your framework, your inventory and your target first:
Download thesd-gunracks.zipasset, not Source code (zip) or the green Code button. Those are the source, without the built console:/gunracksand the placer's strip would show nothing until you build it yourself.
ensure ox_lib
ensure oxmysql
ensure sd-gunracks
- Add the ten rack items from items.md to your inventory, and copy the pictures in
images/into its image folder. - Start the server. The
sd_gunracksandsd_gunracks_logtables create themselves. - Go through
configs/. The settings players must not see are inconfigs/server/, which never reaches a client.
File, What's in it
`configs/share
…