nanos world API Reference Unofficial documentation
Function Server Slow

Weapon:SetMagazineMesh

Set the mesh used when the Character reloads the weapon.<br/><br/>Will drop this Mesh as an animation effect.

Syntax

Lua
my_weapon:SetMagazineMesh(magazine_mesh, magazine_mesh_hide_bone = b_gun_mag)

Parameters

Name Type Default Description
magazine_mesh StaticMeshPath
magazine_mesh_hide_bone optional string b_gun_mag Weapon bone to hide when reloading it