This resource was created as a ESX/QB free portable boombox script capable of playing youtube links.
UPDATE: This is 2.0 of wasabi_boombox and no longer requires nh-context/keyboard unlike my previous version (It utilizes ox_lib). Previous bugs such as boomboxes duplicating, falling over, and songs not stopping should be resolved with this version moving forward as well as additional new features.
Features:
- Usable boombox
- Full animations and boombox prop
- Ability to save songs for later use
- Play any youtube song
- Adjust volume
- Stop music on boombox pick-up
- Play music truly anywhere
- Uses 0.00ms on idle and 0.01ms~ when boombox prop attached to hand
- Download this script
- Import if framework ESX use this one >
ESXSQL.sql
if framework is QB use this one >QBSQL.sql
file to database. - For QBCore Add item Name Into Items Table.
- Download ox_lib(If you don't have): https://github.com/overextended/ox_lib/releases.
- Download qtarget(If using ESX): https://github.com/overextended/qtarget.
- Download qb-target(If using QB): https://github.com/qbcore-framework/qb-target.
- Download xsound(If you don't have): https://github.com/Xogy/xsound.
- Put script in your
resources
directory. - Make sure the following are running in your
server.cfg
:
##QBCore SQl
CREATE TABLE IF NOT EXISTS `boombox_songs` (
`citizenid` varchar(64) NOT NULL,
`label` varchar(30) NOT NULL,
`link` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
ensure ox_lib
ensure qtarget or ensure qb-target
ensure xsound
ensure wasabi_boombox
- Inventory image included in the
InventoryImages
directory - You must add the item
boombox
(or whatever config item is set as) to your items database/table.
https://www.youtube.com/watch?v=P4VfaLsN_U8
Join our discord HERE for additional scripts and support!