GetWeaponFireMode

Return the fire mode of the specified weapon

Argument
Data Type
Nedeed
Default
Description

weapon

number

-

The weapon hash

Returns
Type
Description

number

The experience that the player has with the weapon

Example
local retval, weapon = GetCurrentPedWeapon(PlayerPedId())

local fireMode = exports["utility_weapons"]:GetWeaponFireMode(weapon)

Last updated

Was this helpful?