Closed Red-Killer closed 10 months ago
Describe the bug The export onPlayEnd is not working im getting this error below:
802_GTAProce] MainThrd/ ^1SCRIPT ERROR: @xsound/client/exports/events.lua:8: attempt to index a nil value (field '?')^7 [ 9195937] [b2802_GTAProce] MainThrd/ ^3> ref^7 (^5@xsound/client/exports/events.lua^7:8) [ 9195937] [b2802_GTAProce] MainThrd/ ^3> fn^7 (^5@lb-musicapp/client.lua^7:112) [ 9195937] [b2802_GTAProce] MainThrd/ ^1SCRIPT ERROR: @lb-musicapp/client.lua:112: [ 9195937] [b2802_GTAProce] MainThrd/ ^5 An error occurred while calling export `onPlayEnd` in resource `xsound`:
My Code:
xSound:onPlayEnd(musicId, function() print("end") end)
This is expected if the sound ID doesnt exists you cannot use these events they have to be called after PlayUrl / PlayUrlPos
Oh okay
Describe the bug The export onPlayEnd is not working im getting this error below:
My Code: