📩Framework Guide

Additional information for configuring Pro Laser 4 with frameworks.

QB-Core

Weapon

Create a new weapon for Pro Laser 4 with attributes in qb-core/shared/weapons.lua

weapons.lua
[`weapon_prolaser4`] = { 
    ['name'] = 'weapon_prolaser4',
    ['label'] = 'Lidar Gun',
    ['ammotype'] = 'nil',
    ['damagereason'] = 'Ticketed / Fined / Caught Speeding / Slow Down'
},

Item

Create a new item for Pro Laser 4 with attributes in qb-core/shared/items.lua

items.lua
['weapon_prolaser4'] = {
    ['name'] = 'weapon_prolaser4',
    ['label'] = 'Lidar Gun',
    ['weight'] = 1000,
    ['type'] = 'weapon',
    ['ammotype'] = 'nil',
    ['image'] = 'weapon_prolaser4.png',
    ['unique'] = true,
    ['useable'] = false,
    ['description'] = 'ProLaser4 Lidar Gun'
},

Overextended

Create a new item for Pro Laser 4 with attributes in ox_invetory/weapons.lua

weapons.lua
['WEAPON_PROLASER4'] = {
	label = 'Lidar Gun',
	weight = 700,
	durability = 0.1,
},

Sample Weapon Icons

Last updated