1
0
Fork 0
forked from Simnation/Main

Update server.lua

This commit is contained in:
Nordi98 2025-08-13 16:21:05 +02:00
parent e5b1654f9a
commit fac43847b1

View file

@ -64,11 +64,14 @@ lib.callback.register("pickle_consumables:useItem", function(source)
if cfg.status then
ExecuteStatus(source, cfg.status)
end
-- Add drunk level functionality here
if cfg.drunkLevel then
exports['cs_drunk']:AddDrunkLevel(source, cfg.drunkLevel)
-- Add drunk level functionality here
if cfg.drunkLevel then
exports['cs_drunk']:AddDrunkLevel(source, cfg.drunkLevel)
end
end
end)
return true, metadata.uses
end) -- This closing parenthesis was missing
RegisterNetEvent("pickle_consumables:returnItem", function(destroy)