Open AleeDeveloper opened 3 years ago
@sexyalee
it's the fix
RegisterServerEvent('esx_hifi:remove_hifi') AddEventHandler('esx_hifi:remove_hifi', function(coords) local xPlayer = ESX.GetPlayerFromId(source) xPlayer.addInventoryItem('hifi', 1) TriggerClientEvent('esx_hifi:stop_music', -1, coords) end)
hello when I put the hifi on the ground, I get an error in the console that I cannot take it back, and it does not give me the item https://i.imgur.com/P31UAtR.png Could you give me a solution?