[Pre-Release] Boombox

#21

Full songs would more then likely be to large.

0 Likes

#22

How is this going?

0 Likes

#23

They’re definitely too big. I’ve been thinking about getting the JS Radio working with this. It definitely should be possible. Just need to integrate this script with it and have it call the same nuimessage that the JS Radio does. Now, as far as other people hearing it properly, that’s another story.

0 Likes

#24

Been waiting for something like this for ages, amazing for party RP and festivals, hopefully you get it working so you can have it on the ground and everyone else can hear it

0 Likes

#25

Waiting for server-side sound.
Will be awesome!

0 Likes

#26

Server side please!

0 Likes

#27

Definitely waiting for serverside.

0 Likes

#28

Working flawlessly server side on vRP 2 :kissing::kissing_smiling_eyes::kissing_closed_eyes: thanks! @Imagic

server

local vRPboombox = class(“vRPboombox”, vRP.Extension)

function vRPboombox:__construct()
vRP.Extension.__construct(self)

end

– TUNNEL
vRPboombox.tunnel = {}

function vRPboombox.tunnel:setAudio()
local audio = “http://198.7.59.204:20244/stream.mp3
local user = vRP.users_by_source[source]
if user:hasPermission(“boom.box”) then
vRP.EXT.Audio.remote._setAudioSource(-1, “BoomBox”, audio, 0.5, 0,0,0, 15, user.source)
else
vRP.EXT.Base.remote._notify(user.source, “Only admins can play music using the boombox”)
end
end

function vRPboombox.tunnel:stopAudio()
local user = vRP.users_by_source[source]
if user:hasPermission(“boom.box”) then
vRP.EXT.Audio.remote._removeAudioSource(-1, “BoomBox”)
end
end

vRP:registerExtension(vRPboombox)

0 Likes

#29

I’m patiently waiting for the pushes that @Imagic needs from FiveM to start converting over my server :slight_smile:

0 Likes