Skip to content

trustedwizard/fivem-radio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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, MP3 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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 53.2%
  • JavaScript 42.3%
  • Lua 4.5%