Skip to main content
Set the weapon fire mode of the specified weapon
ArgumentData TypeNedeedDefaultDescription
weaponnumber-The weapon hash
modenumber-The weapon firemode (1 = single, 2 = burst, 3 = auto, 4 = safety)

local retval, weapon = GetCurrentPedWeapon(PlayerPedId())

exports["utility_weapons"]:SetWeaponFireMode(weapon, 1)