AddWeaponExperience
Add experience to a weapon.
Argument | Data Type | Nedeed | Default | Description |
---|---|---|---|---|
weapon | number | - | The weapon hash | |
experience | number | - | The experience |
Example
local retval, weapon = GetCurrentPedWeapon(PlayerPedId())
exports["utility_weapons"]:AddWeaponExperience(weapon, 100)