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.

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)