TTpiKfljRzY&t=58s
Could you do a PR on github ?
got a error whene trying to pick up dosent show back in inventory? any one
SCRIPT ERROR: @esx_hifi/server/main.lua:17: attempt to compare number with nil
if you leave zone second time it will keep playing no matter where you are.
you need to change in the new esx format xPlayer canCarryItem …
remplace this in server.lua
RegisterServerEvent('esx_hifi:remove_hifi')
AddEventHandler('esx_hifi:remove_hifi', function(coords)
local xPlayer = ESX.GetPlayerFromId(source)
if xPlayer.getInventoryItem('hifi').count < xPlayer.getInventoryItem('hifi').limit then
xPlayer.addInventoryItem('hifi', 1)
end
TriggerClientEvent('esx_hifi:stop_music', -1, coords)
end)
with this
RegisterServerEvent('esx_hifi:remove_hifi')
AddEventHandler('esx_hifi:remove_hifi', function(coords)
local xPlayer = ESX.GetPlayerFromId(source)
if xPlayer.canCarryItem('hifi', 1) then
xPlayer.addInventoryItem('hifi', 1)
end
TriggerClientEvent('esx_hifi:stop_music', -1, coords)
end)
line betwen 14 and 21
Omg tnx im at work now ill try when i get home:heart:
Whats the key to open the menu?
Its inside the code, start looking.
@OZ_World I didnt touch anithing and all the files says translation error and nothing works
But using the video as a reference I manage to open the box where u put the video id and nothing plays
never mind fixed it
hey, when i open the menu for the hifi the menu list all says Locale [EN] does not exist
is there a way to fix this?? attached screenshot link https://gyazo.com/c10321c55846aad13e0a61d864b07f4b
pls VRP!
How i open menu? can you help me
it stopped working in the last es_extended update
Still working…
I try to put it down but the hifi will disapear
Hello I have a Question what script is this from the Inventory? 0:02
for me too
the exact same thing
