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:
Jim Shield
2025-06-22 17:45:04 +01:00
parent 1987cf3df3
commit e0563dd4ce

View File

@@ -192,6 +192,7 @@ function openStash(data)
slots = data.slots or 40
})
else
TriggerEvent("ps-inventory:client:SetCurrentStash", data.stash)
TriggerEvent("inventory:client:SetCurrentStash", data.stash)
TriggerServerEvent("inventory:server:OpenInventory", "stash", data.stash, {
slots = data.slots or 50,