Event
Weapon.AmmoClipChange
When the Ammo Clip is changed, by reloading or manually setting through scripting
Syntax
Weapon.Subscribe("AmmoClipChange", function(self, old_ammo_clip, new_ammo_clip)
-- il tuo codice
end)
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
self
|
Weapon | — | — |
old_ammo_clip
|
integer | — | — |
new_ammo_clip
|
integer | — | — |