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.
Installation
Make sure you already have lb-phone
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.
start lb-phone
start lb-phone-musicSQL 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;