forked from Simnation/Main
7 lines
No EOL
407 B
Lua
7 lines
No EOL
407 B
Lua
if GetResourceState('qs-inventory') ~= 'started' then return end
|
|
|
|
OpenStash = function(data,identifier)
|
|
TriggerServerEvent('inventory:server:OpenInventory', 'stash', 'stash_'..data.motel..'_'..identifier..'_'..data.index, {})
|
|
TriggerServerEvent("InteractSound_SV:PlayOnSource", "StashOpen", 0.4)
|
|
TriggerEvent("inventory:client:SetCurrentStash", 'stash_'..data.motel..'_'..identifier..'_'..data.index)
|
|
end |