Skip to content

GlitchOo/qb-boombox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qb-boombox

This resource creates a usable boombox item. Using the item places the object on the ground giving anyone near access to a menu to play music. It accepts youtube urls, you can pause, resume, stop, and change the volume of the audio.
Preview:
https://medal.tv/games/gta-v/clips/4KeJhpohKXePa/JhzHWjffDVEZ?invite=cr-MSxxVlksMjQxMDUxMjgs

Requires:
qb-core
qb-menu
qb-input
qb-inventory
xsound

Place the "html" folder in qb-inventory.
Add the following to qb-core shared.lua in QBShared.Items;

["boombox"] 			     	 = {["name"] = "boombox", 						["label"] = "Boombox", 					["weight"] = 5000, 		["type"] = "item", 		["image"] = "boombox.png", 				["unique"] = true, 		["useable"] = true, 	["shouldClose"] = true,	   ["combinable"] = nil,   ["description"] = "Play some music anywhere."},

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages