Lua Events/OnFillInventoryObjectContextMenu
< Lua Events(Redirected from Lua Events/OnFillInventoryObjectContextMenu)
Event
OnFillInventoryObjectContextMenu
Description
Triggered when inventory object context menus are being filled.
Parameters
- Integer The index of the player for which the context menu is being filled.
- KahluaTable The context menu to be filled.
- KahluaTable The items available in the player inventory.
Examples
local function OnFillInventoryObjectContextMenu(playerIndex, table, items) -- Your code here end Events.OnFillInventoryObjectContextMenu.Add(OnFillInventoryObjectContextMenu)