Lua Events/OnEquipPrimary

From PZwiki



Event

OnEquipPrimary

Description

Triggered when a character equips an item in its primary slot.

Parameters

Examples

local function OnEquipPrimary(character, inventoryItem)
	-- Your code here
end

Events.OnEquipPrimary.Add(OnEquipPrimary)

See also