Skip to Content

サーバー

これはイベントの包括的なリストではなく、内部使用のみを目的としたイベントの欠落です。

ハンドラー

これらのイベントべきではない他のスクリプトによってトリガーされる。

oxinventory:openedInventory(オープン・インベントリー

プレイヤーがインベントリを開いた後にトリガーされる。

AddEventHandler('ox_inventory:openedInventory', function(playerId, inventoryId) end)
  • playerId:number
  • inventoryId:string

oxinventory:closedインベントリ

インベントリがプレイヤーによって閉じられた後にトリガーされる。

AddEventHandler('ox_inventory:closedInventory', function(playerId, inventoryId) end)

oxinventory:usedItem

AddEventHandler('ox_inventory:usedItem', function(playerId, name, slotId, metadata) end)
  • playerId:number
  • と名付けた:string
  • slotId:number
  • メタデータ?table
Last updated on