Function
Fast
Weapon:SetAmmoSettings
Aux for setting and configuring ammo
Syntax
my_weapon:SetAmmoSettings(ammo_clip, ammo_bag, ammo_to_reload = ammo_clip, clip_capacity = ammo_clip)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
ammo_clip
|
integer | — | — |
ammo_bag
|
integer | — | — |
ammo_to_reload
optional
|
integer | ammo_clip |
— |
clip_capacity
optional
|
integer | ammo_clip |
— |