> For the complete documentation index, see [llms.txt](https://docs.luxartengineering.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.luxartengineering.com/pro-laser-4/framework-guide.md).

# 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`

{% code title="weapons.lua" %}

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

{% endcode %}

**Item**

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

{% code title="items.lua" %}

```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'
},
```

{% endcode %}

### Overextended

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

{% code title="weapons.lua" %}

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

{% endcode %}

### Sample Weapon Icons

<div><figure><img src="https://3377175901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8orLvdf8wKK0dVkUVsbM%2Fuploads%2FI9ON0D4NJ3q1sQnhf0Gc%2Fframework_icon.png?alt=media&amp;token=7bbb7dd4-7994-448a-b674-f783a8614387" alt=""><figcaption><p>Small</p></figcaption></figure> <figure><img src="https://3377175901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8orLvdf8wKK0dVkUVsbM%2Fuploads%2FBm4sb5mjtqS0BYZBt2pV%2Fframework_icon_brighter.png?alt=media&amp;token=3306258e-ab99-4d90-b309-b2798e804b36" alt=""><figcaption><p>Small Brighter</p></figcaption></figure> <figure><img src="https://3377175901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8orLvdf8wKK0dVkUVsbM%2Fuploads%2Fq36th9zzLcf1KIqDEFwA%2Fframework_icon_large.png?alt=media&amp;token=d0d8d166-0cea-4ee0-9732-94bc7dd147c9" alt=""><figcaption><p>Large</p></figcaption></figure> <figure><img src="https://3377175901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8orLvdf8wKK0dVkUVsbM%2Fuploads%2FOe0AaWO8X4uXcZJzTTvF%2Fframework_icon_large_brighter.png?alt=media&amp;token=648a45d5-d287-47dd-8123-ceaab3e191fc" alt=""><figcaption><p>Large<br>Brighter</p></figcaption></figure></div>
