nanos world API Reference Unofficial documentation
Event Shared

Weapon.Reload

When a Weapon is reloaded, optionally by a Character

Syntax

Lua
Weapon.Subscribe("Reload", function(self, character, ammo_to_reload)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Weapon
character Character
ammo_to_reload integer