[FREE][RSG] boss-phonograph (The phonograph music player/Fee/Synced)

BOSS-PHONOGRAPH (RSG V2)

The phonograph music player/Fee/Synced

  • :warning:Important !! : This script works with RSG V2 ONLY! I’m only used RSG for RedM Development. Please do bridge for your framework yourself.

Features

I just implement this for my server. This is all my requirements

  • Phonograph in an item

  • Fee (cash) when start music

  • Sync 3D Surround Music around the phonograph object

  • Handling resource stop (clear flag/remove object)

  • Handling who owner (Pick up the object for removing)

  • Handling the phonograph current song playing (unable to insert the new song, when other playing some music [Note: But everyone can stop. The next version should be having a vote system to stop the music])

Dependency

  • rsg-core (awesome core)
  • rsg-target (awesome 3d eye target to entity and actions)
  • ox_lib (awesome input, notification, text ui)
  • jo_lib (awesome menu, notification)
  • xsound (awesome 3d music player)

How to install

  • You must have all dependency in your resource folder from the #Dependency section

  • Download latest from github

  • Extract file to your resource folder resource/[‘your_folder’]/boss-phonograph

  • Add this to “rsg-core/shared/items.lua” file


-- boss-phonograph

phonograph = { name = 'phonograph', label = 'Phonograph', weight = 1200, type = 'item', limit = 1, unique = true, useable = true, shouldClose = true, description = 'The classic music player', image = 'phonograph.png' },

  • Add the image from img folder to “rsg-inventory/html/images” folder

  • Thanks alot to @TankieTwitch for the huge awesome image library

  • Add script to your server.cfg


ensure boss-phonograph

  • Enjoy! :smiley:

Preview

Click! Video Youtube Preview

Source

Code is accessible Yes
Subscription-based No
Lines (approximately) 100+
Requirements rsg core
Support Yes
3 Likes