Installation
Downloading The Resource
Follow the steps below to gain access to the resources files
Log Into the CFX Portal
First, log in to the official CFX portal
Adding The Resource To Your Server
Follow the steps below to implement the resource onto your server
Neon Controller Item Setup
This resource includes an item that server owners can optionally include into their server. If included, players must have this item in their inventory to be able to use the neon controller menu - follow the steps in INCLUDE ITEM. Otherwise, players can open the menu in any vehicle they want, at any time, with no item required - follow the steps in DON'T INCLUDE ITEM
Note: Its fully up to the server owner on how they would like to allow players to access the item (e.g. through certain shops)
INCLUDE ITEM
DONT INCLUDE ITEM
Database Setup
Installing oxmysql
This resource uses oxmysql for all database interactions. To install, follow the instructions listed at https://overextended.dev/oxmysql.
Initializing The Table
Execute the following SQL code found in database.sql
, using your database software.
CREATE TABLE IF NOT EXISTS neon_controller_data (
identifier VARCHAR(255) PRIMARY KEY,
customEffects TEXT,
specialColours TEXT,
vehicleData TEXT,
lastY FLOAT,
lastX FLOAT,
wasCompactView TINYINT(1)
);
Enabling Onesync
Follow this Guide by Quasar to enable onesync on your server. This is required to ensure proper synchronisation of underglow/headlights between playhers.
Configuring Your Resource
Read the pages in Configuration to configure the script as needed.
Last updated