mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-19 14:56:02 +01:00
Add extra triggerevent for ps-inventory
They keep changing their event names 🤷♀️
added a duplicate with `ps-` at the start in hopes this triggers things correctly when opening a stash
This commit is contained in:
@@ -192,6 +192,7 @@ function openStash(data)
|
|||||||
slots = data.slots or 40
|
slots = data.slots or 40
|
||||||
})
|
})
|
||||||
else
|
else
|
||||||
|
TriggerEvent("ps-inventory:client:SetCurrentStash", data.stash)
|
||||||
TriggerEvent("inventory:client:SetCurrentStash", data.stash)
|
TriggerEvent("inventory:client:SetCurrentStash", data.stash)
|
||||||
TriggerServerEvent("inventory:server:OpenInventory", "stash", data.stash, {
|
TriggerServerEvent("inventory:server:OpenInventory", "stash", data.stash, {
|
||||||
slots = data.slots or 50,
|
slots = data.slots or 50,
|
||||||
|
|||||||
Reference in New Issue
Block a user