Update shared.lua

This commit is contained in:
Jim Shield
2022-09-17 16:50:06 +01:00
committed by GitHub
parent 68b17642a6
commit 4bdcc11d51

View File

@@ -51,7 +51,7 @@ function triggerNotify(title, message, type, src)
end
end
function countTable(table) local i = 0 for keys in pairs(table) do i = i + 1 end return i end
function countTable(table) local i = 0 for keys in pairs(table) do i += 1 end return i end
function toggleItem(give, item, amount) TriggerServerEvent("jim-consumables:server:toggleItem", give, item, amount) end