Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.markz3d.com/llms.txt

Use this file to discover all available pages before exploring further.

Set the weapon jam state of the specified weapon
ArgumentData TypeNedeedDefaultDescription
weaponnumber-The weapon hash
stateboolean-The jam state

local retval, weapon = GetCurrentPedWeapon(PlayerPedId())

exports["utility_weapons"]:SetWeaponJamState(weapon, true)