forked from Simnation/Main
Merge branch 'master' of https://git.simnation-rp.de/Simnation/Main
This commit is contained in:
commit
5b6314e6be
2 changed files with 3 additions and 1 deletions
|
@ -34,6 +34,7 @@ client_scripts {
|
|||
|
||||
-- comment this line if not using NativeUILua
|
||||
'@NativeUI/NativeUI.lua',
|
||||
'@ox_lib/init.lua',
|
||||
|
||||
'config.lua',
|
||||
'client.lua'
|
||||
|
|
|
@ -75,7 +75,8 @@ if not Config.UseOldSlingScript then
|
|||
return false
|
||||
end
|
||||
elseif GetResourceState("tgiann-inventory") == 'started' then
|
||||
local count = exports["tgiann-inventory"]:HasItem(Weapon)
|
||||
local count = exports["tgiann-inventory"]:Items(Weapon)
|
||||
print("Miho output... \n Weapon: "..Weapon)
|
||||
|
||||
if count then
|
||||
return true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue