Skip to content

GetWeaponExperience

Return the experience of the specified weapon

Argument Data Type Nedeed Default Description
weapon number - The weapon hash
Returns
Data Type Description
number The experience that the player has with the weapon

Example
local retval, weapon = GetCurrentPedWeapon(PlayerPedId())
local experience = exports["utility_weapons"]:GetWeaponExperience(weapon)

print(experience)