RuisSoftware / fivem-radio

FXS Radio Resource

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FiveM Radio

This resource allows you to integrate your own radios in place of the original radios. It's fully written in JavaScript and uses resource metadata for its configuration.

Features

  • Radio wheel
  • Audio file
  • Audio stream
  • No dependency
  • Easy configuration
  • Player-configurable volume

Showcase

Video showing Los Santos Rock Radio replaced by a WebRadio and Non-Stop-Pop FM replaced by a song: Showcase

Known bugs and limitations

  • No MPEG or AAC support as CEF only supports open formats

Configuration

For each custom radio, add this line in _resource.lua:

supersede_radio "[ORIGINAL_RADIO_NAME]" { url = "[RADIO URL]", volume = 0.5, name = "[NEW RADIO NAME]" }

You can find the list of radio names in data.js and a full example in __resource.lua.

Tips

Stream a modified hud.ytd (gtav_radio_stations_texture_512) file to replace radio logos.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

FXS Radio Resource

License:MIT License


Languages

Language:HTML 50.3%Language:JavaScript 45.5%Language:Lua 4.2%