2023-12-07 15:45:48 -08:00
|
|
|
|
2025-08-06 02:25:06 -06:00
|
|
|
ps.createUseable('shrooms', function(source, item)
|
|
|
|
|
local src = source
|
|
|
|
|
if not ps.callback("md-drugs:client:shrooms", src) then
|
2025-08-09 03:10:00 -06:00
|
|
|
ps.notify(src, ps.lang('shrooms.cancel'), "error")
|
2025-08-06 02:25:06 -06:00
|
|
|
return
|
|
|
|
|
end
|
|
|
|
|
ps.removeItem(src, 'shrooms', 1)
|
2025-08-09 03:10:00 -06:00
|
|
|
ps.notify(src, ps.lang('shrooms.took'), 'success')
|
2023-12-07 15:45:48 -08:00
|
|
|
end)
|
|
|
|
|
|