Lua Events/OnPreFillInventoryObjectContextMenu
< Lua Events(Redirected from Lua Events/OnPreFillInventoryObjectContextMenu)
Event
OnPreFillInventoryObjectContextMenu
Description
Triggered before context menus get filled with options.
Parameters
- Integer The player ID 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 OnPreFillInventoryObjectContextMenu(playerID, context, items) -- Your code here end Events.OnPreFillInventoryObjectContextMenu.Add(OnPreFillInventoryObjectContextMenu)