N Tune

N Tune - Music Player [LB-Phone Addon]

⚠️

This resource is an add-on for lb-phone and not a standalone resource.

🚫

Important Compatibility Note:

N Tune (V3) is not compatible with older versions of LB Phone. It is designed exclusively for LB Phone version 2.3.1 and above.

⚠️

Dependencies

N Tune App requires by default xsound to play the music, but there's open resource files which can be edited and set any other sound library (Development knowledge required)

Installation

Make sure you already have lb-phone (opens in a new tab)

Buy a copy (opens in a new tab).

Download [LB-Phone] Music App from CFX Portal (opens in a new tab)

Unpack the resource lb-phone-music into your resources folder

    • server.cfg
          • Resource start order

            It's important for your resources to start in a logical order to prevent errors from missing dependencies.

            ensure xsound
            ensure lb-phone
            ensure lb-phone-music

            SQL Schema

            • Execute the SQL Query you'll find inside the resource.
            • Without running the provided sql query, the resource wont work.
            • server.cfg
                      • phone_ntune_playlists.sql <-
              • DROP TABLE IF EXISTS `phone_ntune_playlists`;
                CREATE TABLE `phone_ntune_playlists`  (
                  `phoneNumber` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
                  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
                  `thumbnail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
                  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
                  `trackId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
                  `date` timestamp NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP
                ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;
                Join Our Discord