mdevstore

Hotshot

Spawn name, install lines and framework snippets for the Hotshot.

FirehouseHotshot$7.99View release

The wildland firefighter's tool, its head drop-forged in one piece: an axe bit and a drooping adze, both edges ground to a mirror, in deep red enamel with E-12 stencilled on the cheek, on a yellow fibreglass handle with a black collar and a diamond-moulded grip.

Spawn nameResourceQBCore itemFinish
WEAPON_HOTSHOTmd_hotshotweapon_hotshotStatic

Install

Put the folder in your resources folder and add it to server.cfg, after your framework and inventory:

server.cfg
ensure md_hotshot

Then do a full restart: weapon metas only load when the server starts. More in Installation.

Framework setup

The same lines are in each weapon's install/ folder.

  1. Inside the items table:

    qb-core/shared/items.lua
    weapon_hotshot = { name = 'weapon_hotshot', label = "Hotshot", weight = 1000, type = 'weapon', ammotype = nil, image = 'weapon_hotshot.png', unique = true, useable = false, description = "The wildland firefighter's tool, its head drop-forged in one piece: an axe bit and a drooping adze, both edges ground to a mirror, in deep red enamel with E-12 stencilled on the cheek, on a yellow fibreglass handle with a black collar and a diamond-moulded grip." },
  2. Inside the weapons table:

    qb-core/shared/weapons.lua
    [`weapon_hotshot`] = { name = 'weapon_hotshot', label = "Hotshot", weapontype = 'Melee', ammotype = nil, damagereason = 'Knifed / Stabbed / Eviscerated' },
  3. Copy install/images/qb-inventory/weapon_hotshot.png into your inventory's image folder.

Test it

FrameworkCommand
QBCore/giveitem [id] weapon_hotshot 1
ox_inventory/giveitem [id] WEAPON_HOTSHOT 1
ESX/giveweapon [id] WEAPON_HOTSHOT 0
qs, core, tgiann/giveitem [id] weapon_hotshot 1
CodeM, ak47Their admin give command, with WEAPON_HOTSHOT
vMenuWeapon Options → Addon Weapons

Extras

  • mdev-weaponsback already knows this weapon: carry it on your back with no setup.

  • mdev-weaponicons gives it its own weapon wheel icon. It's a thank-you for customers, in the Customer downloads forum of our Discord.

Hotshot · Weapons docs · mdevstore