Scripts

Gunrack - FiveM Vehicle Gun Rack

Gunrack - FiveM Vehicle Gun Rack

Türkçe dahil. Gunrack Türkçe olarak gelir: panel, bildirimler ve araç içi ipucu Türkçe görünür, config.lua içinde Config.Locale = 'tr' yazmanız yeterli. Kurulum notlarının Türkçe özeti de pakette. Türk sunucuları için baştan sona Türkçe kullanılabilir.

9 languages included: English, Türkçe, Deutsch, Français, Español, Português (Brasil), Polski, Nederlands, Italiano.

Gunrack puts a weapon rack inside your department vehicles. Officers store and take weapons and ammo from any seat while the vehicle is stopped. Stored weapons stand between the front seats and ammo packs lie in the trunk, so everyone around can see what the car carries.

Features

  • Opens with G from any seat while the vehicle is stopped, closes with G or ESC. Players can rebind the key in FiveM key bindings.
  • 8 slots per vehicle (configurable). Each slot holds one weapon or one ammo stack.
  • A weapon goes into the rack with the ammo loaded in it. With ox_inventory and QBCore its metadata (serial number, attachments) comes back unchanged.
  • Spare ammo is listed separately. Store or take any amount.
  • Visible props: up to 2 weapons upright between the front seats, up to 4 ammo packs on the trunk floor. Positions are calculated from each vehicle's own seat points and size, and weapons are lowered automatically under low roofs.
  • /trunkview opens only the trunk lid to show the ammo (command name configurable).
  • Live for every occupant: when someone stores or takes an item, the panel updates for everyone in the car.
  • Job locked: only the jobs you allow can open it, everyone else gets a "not allowed" message.
  • Racks are saved per plate and survive server restarts.
  • Transparent side panel with weapon pictures, short key hint when entering the vehicle.

Performance

  • Resmon, measured in game on our test server: 0.00 ms on foot, 0.01 ms sitting in a loaded rack vehicle with props shown, 0.01 ms with the panel open.
  • No per-frame loops. One light check every 300 ms; the panel only works while it is open.
  • Props are spawned only for rack vehicles within 60 m (configurable) and removed when they leave.

Security

  • Every store and take is validated on the server: job, vehicle, seat, distance and what the player really carries in the inventory.
  • Requests are rate limited and amounts are clamped on the server. The client cannot create items.
  • Rack state is synced with entity state bags, written only by the server.

Framework and inventory

  • Frameworks: ESX Legacy, QBCore, Qbox and standalone (ACE permission gunrack.use).
  • Inventories: ox_inventory, qb-inventory (and compatible forks), ESX loadout, or the game's own weapons.
  • Detected automatically (Config.Inventory = 'auto').
  • Tested with real players on ESX, ESX + ox_inventory and QBCore + qb-inventory.
  • No dependencies: no ox_lib, no oxmysql, no database tables.

Open and editable

  • Protected with Cfx asset escrow. These files stay open: config.lua, locales/*.lua, server/framework.lua, server/inventory.lua.
  • The framework and inventory bridges are open, so you can adapt them to a custom inventory.

Configuration (config.lua)

  • Allowed jobs, vehicle models, slot count.
  • Your own weapon list (any weapon, label and picture) and ammo items per inventory.
  • Key, hint duration, department name shown on the panel.
  • Prop visibility, draw distance, per-model position fixes for cabin and trunk.
  • Stack limits, server distance check, maximum speed for opening.

Languages

  • 9 languages included: English, Turkish, German, French, Spanish, Portuguese (Brazil), Polish, Dutch and Italian. Switch with Config.Locale.
  • Automatic: Config.Locale = 'auto' shows every player the panel in the language of their own GTA game.
  • Add any language by copying a file in locales/.

Installation

  1. After purchase, download Gunrack from your Cfx.re portal (Granted Assets).
  2. Put the gunrack folder in your resources and add ensure gunrack after your framework and inventory.
  3. Set Config.AllowedJobs and Config.Vehicles. Done.

Requires FXServer build 5181 or newer.

Support

contact@torpilstudio.com

$12.99
Armory - FiveM Police Armory

Armory - FiveM Police Armory

Türkçe dahil. Armory Türkçe olarak gelir: panel, bildirimler, rütbeler (Aday Memur, Memur, Çavuş, Komiser...), set adları (Devriye, Devriye Tüfeği, Özel Harekât) ve ek parçalar (Fener, Dürbün, Tutamak, Susturucu) Türkçe görünür. config.lua içinde Config.Locale = 'tr' yazmanız yeterli. Türk sunucuları için baştan sona Türkçe kullanılabilir.

9 languages included: English, Türkçe, Deutsch, Français, Español, Português (Brasil), Polski, Nederlands, Italiano.

Armory gives your police department a real armory. Officers walk up to the counter, pick the loadout their rank allows or single pieces of equipment, choose attachments on a turning 3D model of the weapon and sign it all out. Every weapon gets a serial number, returns are checked against what was issued, and every issue and return is logged.

Features

  • Rank based loadouts: Patrol, Shotgun Patrol, Patrol Rifle and SWAT by default. Add, remove or change them in config.lua.
  • Single equipment: sidearms, taser, nightstick, flashlight, shotgun, rifles, SMG, radio, bandages and body armor. Equipment turns in 3D too.
  • Weapons are handed out loaded with one magazine, the rest as ammo items.
  • 3D weapon preview: the selected weapon turns slowly in a dark studio view next to the panel. Drag to turn it.
  • Attachments on the model: flashlight, scope, grip, extended magazine and suppressor appear on the weapon the moment you pick them. Each attachment can require a rank (suppressor for Lieutenant and up by default).
  • Serial number on every issued weapon (ARM-XXXXXX), shown in the item info of ox_inventory and QBCore together with the officer's name.
  • One loadout at a time. A weapon cannot be taken twice before it is returned.
  • Return all: the armory takes back exactly the weapons it gave out (matched by serial), plus unused ammo and items.
  • Missing weapons stay on the officer's record and keep the loadout locked. Supervisors write them off with /armoryclear.
  • Issue and return log in data/log.json, optional Discord webhook.
  • Optional stock per weapon.
  • ox_target and qb-target support, or a floor marker and a key (E) without a target script.
  • Locked items show the rank they need, so officers know what they are working towards.

Works with Gunrack

If you also run our Gunrack script (1.1.0 or newer), officers can load their issued long guns straight into a nearby department vehicle's rack from the armory panel. The weapons appear between the front seats, and when the officer returns the loadout, weapons left in the rack are counted too. Buy both together in the Armory + Gunrack bundle.

Performance

Resmon, measured in game on our test server (marker mode, no target script): 0.00 ms away from the armory, 0.02 ms next to it (the marker is drawn), 0.11 ms while the panel and 3D preview are open. With ox_target or qb-target there is no loop at all.

Security

  • Every action is validated on the server: job, rank, distance to the armory, loadout and item limits.
  • Requests are rate limited. The client cannot create items or choose attachments above its rank.
  • Returns are matched by serial number, so an officer cannot return a different weapon.

Framework and inventory

  • Frameworks: ESX Legacy, QBCore, Qbox and standalone (ACE permissions armory.use and armory.grade.N).
  • Inventories: ox_inventory, qb-inventory and compatible forks, ESX loadout, or the game's own weapons.
  • Detected automatically. Job and rank are read from your framework.
  • Tested with real players on ESX Legacy, ESX Legacy + ox_inventory, QBCore + qb-inventory and Qbox + ox_inventory.

Open and editable

config.lua, the language files and server/framework.lua and server/inventory.lua stay open after purchase, so you can change item names or support another framework. The rest is protected by Cfx asset escrow.

Languages

9 languages included: English, Turkish, German, French, Spanish, Portuguese (Brazil), Polish, Dutch and Italian, including rank, loadout and attachment names. Switch with Config.Locale, or set it to 'auto' to show every player the language of their own GTA game. Add your own in locales/.

Installation

Put the armory folder in your resources, add ensure armory to server.cfg after your framework, inventory and target, then set your armory locations, jobs and loadouts in config.lua. Example locations for the default Mission Row, Sandy Shores and Paleto stations are included.

Support

Questions and setup help by email at contact@torpilstudio.com or through the contact form on torpilstudio.com. You receive the script through your Cfx.re account (Keymaster) right after purchase.

$14.99
Armory + Gunrack Bundle - FiveM Police Pack

Armory + Gunrack Bundle - FiveM Police Pack

Türkçe dahil. İki script de Türkçe olarak gelir; Config.Locale = 'tr' yazmanız yeterli. Türk polis sunucuları için baştan sona Türkçe.

Both Torpil Studio police scripts together, for less than buying them separately (Armory 14.99 + Gunrack 12.99).

Armory

Police armory with rank based loadouts, a turning 3D weapon preview with live attachments, serial numbers on every weapon, checked returns and an issue log.

Gunrack

Weapon rack inside department vehicles: weapons stand between the front seats, ammo lies in the trunk, everyone around can see what the car carries.

Better together

Officers load their issued long guns straight into a nearby vehicle's rack from the armory panel, and weapons left in a rack are counted when the loadout is returned.

Languages

9 languages in both: English, Turkish, German, French, Spanish, Portuguese (Brazil), Polish, Dutch and Italian. Set Config.Locale = 'auto' to show every player the language of their own GTA game.

Both work with ESX Legacy, QBCore, Qbox and standalone, with ox_inventory, qb-inventory or the ESX loadout. You receive both scripts through your Cfx.re account (Keymaster) right after purchase. Questions: contact@torpilstudio.com. See the Armory and Gunrack packages for full details.

$24.99

Scripts

Gunrack - FiveM Vehicle Gun Rack

Gunrack - FiveM Vehicle Gun Rack

Türkçe dahil. Gunrack Türkçe olarak gelir: panel, bildirimler ve araç içi ipucu Türkçe görünür, config.lua içinde Config.Locale = 'tr' yazmanız yeterli. Kurulum notlarının Türkçe özeti de pakette. Türk sunucuları için baştan sona Türkçe kullanılabilir.

9 languages included: English, Türkçe, Deutsch, Français, Español, Português (Brasil), Polski, Nederlands, Italiano.

Gunrack puts a weapon rack inside your department vehicles. Officers store and take weapons and ammo from any seat while the vehicle is stopped. Stored weapons stand between the front seats and ammo packs lie in the trunk, so everyone around can see what the car carries.

Features

  • Opens with G from any seat while the vehicle is stopped, closes with G or ESC. Players can rebind the key in FiveM key bindings.
  • 8 slots per vehicle (configurable). Each slot holds one weapon or one ammo stack.
  • A weapon goes into the rack with the ammo loaded in it. With ox_inventory and QBCore its metadata (serial number, attachments) comes back unchanged.
  • Spare ammo is listed separately. Store or take any amount.
  • Visible props: up to 2 weapons upright between the front seats, up to 4 ammo packs on the trunk floor. Positions are calculated from each vehicle's own seat points and size, and weapons are lowered automatically under low roofs.
  • /trunkview opens only the trunk lid to show the ammo (command name configurable).
  • Live for every occupant: when someone stores or takes an item, the panel updates for everyone in the car.
  • Job locked: only the jobs you allow can open it, everyone else gets a "not allowed" message.
  • Racks are saved per plate and survive server restarts.
  • Transparent side panel with weapon pictures, short key hint when entering the vehicle.

Performance

  • Resmon, measured in game on our test server: 0.00 ms on foot, 0.01 ms sitting in a loaded rack vehicle with props shown, 0.01 ms with the panel open.
  • No per-frame loops. One light check every 300 ms; the panel only works while it is open.
  • Props are spawned only for rack vehicles within 60 m (configurable) and removed when they leave.

Security

  • Every store and take is validated on the server: job, vehicle, seat, distance and what the player really carries in the inventory.
  • Requests are rate limited and amounts are clamped on the server. The client cannot create items.
  • Rack state is synced with entity state bags, written only by the server.

Framework and inventory

  • Frameworks: ESX Legacy, QBCore, Qbox and standalone (ACE permission gunrack.use).
  • Inventories: ox_inventory, qb-inventory (and compatible forks), ESX loadout, or the game's own weapons.
  • Detected automatically (Config.Inventory = 'auto').
  • Tested with real players on ESX, ESX + ox_inventory and QBCore + qb-inventory.
  • No dependencies: no ox_lib, no oxmysql, no database tables.

Open and editable

  • Protected with Cfx asset escrow. These files stay open: config.lua, locales/*.lua, server/framework.lua, server/inventory.lua.
  • The framework and inventory bridges are open, so you can adapt them to a custom inventory.

Configuration (config.lua)

  • Allowed jobs, vehicle models, slot count.
  • Your own weapon list (any weapon, label and picture) and ammo items per inventory.
  • Key, hint duration, department name shown on the panel.
  • Prop visibility, draw distance, per-model position fixes for cabin and trunk.
  • Stack limits, server distance check, maximum speed for opening.

Languages

  • 9 languages included: English, Turkish, German, French, Spanish, Portuguese (Brazil), Polish, Dutch and Italian. Switch with Config.Locale.
  • Automatic: Config.Locale = 'auto' shows every player the panel in the language of their own GTA game.
  • Add any language by copying a file in locales/.

Installation

  1. After purchase, download Gunrack from your Cfx.re portal (Granted Assets).
  2. Put the gunrack folder in your resources and add ensure gunrack after your framework and inventory.
  3. Set Config.AllowedJobs and Config.Vehicles. Done.

Requires FXServer build 5181 or newer.

Support

contact@torpilstudio.com

$12.99
Armory - FiveM Police Armory

Armory - FiveM Police Armory

Türkçe dahil. Armory Türkçe olarak gelir: panel, bildirimler, rütbeler (Aday Memur, Memur, Çavuş, Komiser...), set adları (Devriye, Devriye Tüfeği, Özel Harekât) ve ek parçalar (Fener, Dürbün, Tutamak, Susturucu) Türkçe görünür. config.lua içinde Config.Locale = 'tr' yazmanız yeterli. Türk sunucuları için baştan sona Türkçe kullanılabilir.

9 languages included: English, Türkçe, Deutsch, Français, Español, Português (Brasil), Polski, Nederlands, Italiano.

Armory gives your police department a real armory. Officers walk up to the counter, pick the loadout their rank allows or single pieces of equipment, choose attachments on a turning 3D model of the weapon and sign it all out. Every weapon gets a serial number, returns are checked against what was issued, and every issue and return is logged.

Features

  • Rank based loadouts: Patrol, Shotgun Patrol, Patrol Rifle and SWAT by default. Add, remove or change them in config.lua.
  • Single equipment: sidearms, taser, nightstick, flashlight, shotgun, rifles, SMG, radio, bandages and body armor. Equipment turns in 3D too.
  • Weapons are handed out loaded with one magazine, the rest as ammo items.
  • 3D weapon preview: the selected weapon turns slowly in a dark studio view next to the panel. Drag to turn it.
  • Attachments on the model: flashlight, scope, grip, extended magazine and suppressor appear on the weapon the moment you pick them. Each attachment can require a rank (suppressor for Lieutenant and up by default).
  • Serial number on every issued weapon (ARM-XXXXXX), shown in the item info of ox_inventory and QBCore together with the officer's name.
  • One loadout at a time. A weapon cannot be taken twice before it is returned.
  • Return all: the armory takes back exactly the weapons it gave out (matched by serial), plus unused ammo and items.
  • Missing weapons stay on the officer's record and keep the loadout locked. Supervisors write them off with /armoryclear.
  • Issue and return log in data/log.json, optional Discord webhook.
  • Optional stock per weapon.
  • ox_target and qb-target support, or a floor marker and a key (E) without a target script.
  • Locked items show the rank they need, so officers know what they are working towards.

Works with Gunrack

If you also run our Gunrack script (1.1.0 or newer), officers can load their issued long guns straight into a nearby department vehicle's rack from the armory panel. The weapons appear between the front seats, and when the officer returns the loadout, weapons left in the rack are counted too. Buy both together in the Armory + Gunrack bundle.

Performance

Resmon, measured in game on our test server (marker mode, no target script): 0.00 ms away from the armory, 0.02 ms next to it (the marker is drawn), 0.11 ms while the panel and 3D preview are open. With ox_target or qb-target there is no loop at all.

Security

  • Every action is validated on the server: job, rank, distance to the armory, loadout and item limits.
  • Requests are rate limited. The client cannot create items or choose attachments above its rank.
  • Returns are matched by serial number, so an officer cannot return a different weapon.

Framework and inventory

  • Frameworks: ESX Legacy, QBCore, Qbox and standalone (ACE permissions armory.use and armory.grade.N).
  • Inventories: ox_inventory, qb-inventory and compatible forks, ESX loadout, or the game's own weapons.
  • Detected automatically. Job and rank are read from your framework.
  • Tested with real players on ESX Legacy, ESX Legacy + ox_inventory, QBCore + qb-inventory and Qbox + ox_inventory.

Open and editable

config.lua, the language files and server/framework.lua and server/inventory.lua stay open after purchase, so you can change item names or support another framework. The rest is protected by Cfx asset escrow.

Languages

9 languages included: English, Turkish, German, French, Spanish, Portuguese (Brazil), Polish, Dutch and Italian, including rank, loadout and attachment names. Switch with Config.Locale, or set it to 'auto' to show every player the language of their own GTA game. Add your own in locales/.

Installation

Put the armory folder in your resources, add ensure armory to server.cfg after your framework, inventory and target, then set your armory locations, jobs and loadouts in config.lua. Example locations for the default Mission Row, Sandy Shores and Paleto stations are included.

Support

Questions and setup help by email at contact@torpilstudio.com or through the contact form on torpilstudio.com. You receive the script through your Cfx.re account (Keymaster) right after purchase.

$14.99
Armory + Gunrack Bundle - FiveM Police Pack

Armory + Gunrack Bundle - FiveM Police Pack

Türkçe dahil. İki script de Türkçe olarak gelir; Config.Locale = 'tr' yazmanız yeterli. Türk polis sunucuları için baştan sona Türkçe.

Both Torpil Studio police scripts together, for less than buying them separately (Armory 14.99 + Gunrack 12.99).

Armory

Police armory with rank based loadouts, a turning 3D weapon preview with live attachments, serial numbers on every weapon, checked returns and an issue log.

Gunrack

Weapon rack inside department vehicles: weapons stand between the front seats, ammo lies in the trunk, everyone around can see what the car carries.

Better together

Officers load their issued long guns straight into a nearby vehicle's rack from the armory panel, and weapons left in a rack are counted when the loadout is returned.

Languages

9 languages in both: English, Turkish, German, French, Spanish, Portuguese (Brazil), Polish, Dutch and Italian. Set Config.Locale = 'auto' to show every player the language of their own GTA game.

Both work with ESX Legacy, QBCore, Qbox and standalone, with ox_inventory, qb-inventory or the ESX loadout. You receive both scripts through your Cfx.re account (Keymaster) right after purchase. Questions: contact@torpilstudio.com. See the Armory and Gunrack packages for full details.

$24.99