Appearance
WeaponProficiencyNotification ​
GameserverMessageWeaponProficiencyNotification · inbound · 40 bytes
Subscribe with Engine.on("WeaponProficiencyNotification", fn). Print the live usage block with Engine.help("WeaponProficiencyNotification").
lua
local Engine = require("sdk.engine")
Engine.on("WeaponProficiencyNotification", function(ev)
print(ev.weapon_id, ev.level, ev.new_rank)
end)| Name | Kind | Nested |
|---|---|---|
weapon_id | u32 | — |
level | u32 | — |
new_rank | u8 | — |