Skip to main content

Installation

caution

Please carefully read installation process, otherwise fd_radio resource will not work.

Dependecies

We've tried not to use a lot of third party dependencies, so you won't need to install that many dependencies. For this resource to work, you'll need to install

QBCore

Resource is compatible with QBCore, you can get it at QBCore Framework Repository. However, it's tested only with newest version.

caution

We do not recommend using QBCore, instead use QBox.

Set correct framework

Go to shared/config.lua and set your framework.

Config.core = 'qb' -- available: standalone, QB or ESX
Config.coreResource = 'qb-core' -- only used if QB

Adjust config

Before starting, please adjust config values as you want. Config

Optional

Check out optional stuff, which might make sense for your setup. Optional link

Items

Single Item

Add items to shared/items.lua or where your QBShared.Items is.

    ["radio"] = {
["name"] = "radio",
["label"] = "Radio",
["weight"] = 0,
["type"] = "item",
["image"] = "radio.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Hmm??"
},
["radio_jammer"] = {
["name"] = "radio_jammer",
["label"] = "Radio Jammer",
["weight"] = 0,
["type"] = "item",
["image"] = "radio_jammer.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Hmm??"
},
["radio_antenna"] = {
["name"] = "radio_antenna",
["label"] = "Radio Antenna",
["weight"] = 0,
["type"] = "item",
["image"] = "radio_antenna.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Hmm??"
},

Multiple items

Add items to shared/items.lua or where your QBShared.Items is.

    ["radio_default"] = {
["name"] = "radio_default",
["label"] = "Radio Black",
["weight"] = 0,
["type"] = "item",
["image"] = "radio_default.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Hmm??"
},
["radio_red"] = {
["name"] = "radio_red",
["label"] = "Radio Red",
["weight"] = 0,
["type"] = "item",
["image"] = "radio_default.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Hmm??"
},
["radio_blue"] = {
["name"] = "radio_blue",
["label"] = "Radio Blue",
["weight"] = 0,
["type"] = "item",
["image"] = "radio_blue.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Hmm??"
},
["radio_green"] = {
["name"] = "radio_green",
["label"] = "Radio Green",
["weight"] = 0,
["type"] = "item",
["image"] = "radio_green.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Hmm??"
},
["radio_yellow"] = {
["name"] = "radio_yellow",
["label"] = "Radio Yellow",
["weight"] = 0,
["type"] = "item",
["image"] = "radio_yellow.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Hmm??"
},
["radio_white"] = {
["name"] = "radio_white",
["label"] = "Radio White",
["weight"] = 0,
["type"] = "item",
["image"] = "radio_white.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Hmm??"
},
["radio_jammer"] = {
["name"] = "radio_jammer",
["label"] = "Radio Jammer",
["weight"] = 0,
["type"] = "item",
["image"] = "radio_jammer.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Hmm??"
},
["radio_antenna"] = {
["name"] = "radio_antenna",
["label"] = "Radio Antenna",
["weight"] = 0,
["type"] = "item",
["image"] = "radio_antenna.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Hmm??"
},

Start

Add

ensure fd_radio

to your server.cfg and if you did everything as described above, please start your server and enjoy your new radio!

Common Issues

Questions

If you have an issue or questions, please visit our discord, and open a ticket.