hi i hope you guys can help me, i have a rp server and i would love to use this on it, i have put the radio file in resources and ofc start radio. and i have it like this in lua :
resource_manifest_version “44febabe-d386-4d18-afbe-5e627f4af937”
Hi i have to say one more time thanks for the help. but the volume is pretty high and i set it down from 0.5 to 0.2 and it got higher hehe but it works great
@Iwan
This resource works, right now I tested it.
You need to find radio stations that emit in ogg not aac + or mp3 .
If you can not find it you can convert a mp3 to ogg and upload into web hosting, take link ( ex: “http://yourwebsite.com/song.ogg”) and put into __resource.lua and work great .
Made my own playlist (mp3 file) and converted it to a ogg file? how do i play it via the radio? the ones in the _resource file are urls? great job btw ^^
I’m using this as a reference for a JS only resource, but am having trouble getting my NUI callback to fire after my index.html posts / fetches. I tried downloading Radio and inserting a ‘debug’ emit(‘chatMessage’, …) in the nui callback event listener, but I didn’t see it firing either.
Does the Javascript nui stuff actually work for you? I’m trying to figure out if the problem’s on my side or if it’s an issue with nui.
Edit: I found my error. Just a typo in a variable name.
work as intend but when i am changing cars the radio stops and i got to restart the resource in order to continue listening to the second car,otherwise its only playing for the first car i enter and only for that car