Skip to main content

Events

Client-side

weapons:equipped

This event is triggered when a weapon is equipped or unequipped.

client/main.lua
AddEventHandler("weapons:equipped", function(currentWeapon)
if not currentWeapon then
print("Unequipped weapon");
else
print("Equipped weapon");
end
end);