Skip to main content
Return the current recoil step of the specified weapon (every time the weapon is fired, the recoil step is increased), the recoil step can be setted in Config.Patterns
ArgumentData TypeNedeedDefaultDescription
weaponnumber-The weapon hash

TypeDescription
numberThe recoil step of the weapon
local retval, weapon = GetCurrentPedWeapon(PlayerPedId())

local recoilStep = exports["utility_weapons"]:GetRecoilStep(weapon)