mirror of
https://github.com/jimathy/jim-consumables.git
synced 2026-08-19 07:26:04 +01:00
Update shared.lua
This commit is contained in:
@@ -51,7 +51,7 @@ function triggerNotify(title, message, type, src)
|
|||||||
end
|
end
|
||||||
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
|
function toggleItem(give, item, amount) TriggerServerEvent("jim-consumables:server:toggleItem", give, item, amount) end
|
||||||
|
|
||||||
@@ -244,4 +244,4 @@ function StopEffects() -- Used to clear up any effects stuck on screen
|
|||||||
AnimpostfxStop('RaceTurbo')
|
AnimpostfxStop('RaceTurbo')
|
||||||
AnimpostfxStop('FocusIn')
|
AnimpostfxStop('FocusIn')
|
||||||
AnimpostfxStop('Rampage')
|
AnimpostfxStop('Rampage')
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user