Drop db-drugeffects
into your resources
folder.
Make sure you add ensure db-drugeffects
into your server.cfg
If you want to add more items copy this and paste into your server.lua
file
ESX.RegisterUsableItem('change_item_name_here', function(source) local xPlayer = ESX.GetPlayerFromId(source) TriggerClientEvent('db_drugs:ondrugs', source) end)
deBBuu#3317