Skip to content

Installation

Two minutes. There is no framework to pick and nothing to import.


You needWhy
A FiveM serverThat is all — mic_leafblower is standalone and runs on ESX, QBCore, QBox or no framework
A way to give players WEAPON_RAYMINIGUNThe leaf blower is that weapon

Drop mic_leafblower into your resources, for example inside resources/[mic]/. Keep its stream/ folder: it holds the replacement Widowmaker model (w_mg_sminigun).


Add ensure mic_leafblower to server.cfg. It has no dependencies, so where it goes does not matter.

It worked when the resource starts with no red line in the console.


mic_leafblower stores nothing.


There is no new item. The leaf blower is the game weapon WEAPON_RAYMINIGUN, so it lives wherever your inventory already keeps weapons. All you may want to change is its name, so players see “Leaf Blower” instead of “Widowmaker”:

InventoryWhere the weapon’s label is
ox_inventoryox_inventory/data/weapons.lua, the WEAPON_RAYMINIGUN entry
ESX defaultes_extended/shared/config/weapons.lua, the WEAPON_RAYMINIGUN entry
QBCoreqb-core/shared/weapons.lua and the weapon_rayminigun item in qb-core/shared/items.lua

Change the label only — leave the weapon name as it is. The resource looks for WEAPON_RAYMINIGUN and that name can not be changed.

No icon ships with the resource; the inventory keeps showing its own Widowmaker picture unless you replace that image yourself.


  1. Give yourself WEAPON_RAYMINIGUN the way your server normally gives weapons.
  2. Equip it. A leaf blower appears in your right hand instead of the gun.
  3. Spawn a car, stand a few metres away and hold right mouse (aim) at it.

It worked when leaves blow out of the blower and the car slides away from you. Clicking left mouse fires nothing.


  • Decide who gets the Widowmaker. Anyone who has it can shove players and cars around.
  • Pick the strength. Config.Force ships on medium; hard throws cars and players a long way.
  • Decide on fall damage. Config.FallDamage is off: a blown-over player can not be hurt until they get up.
  • Rename the weapon in your inventory so players see “Leaf Blower”.