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
Integrating Your Servers Fuel Script
The vehicle control UI displays the amount of fuel a vehicle has. Follow the steps below to integrate your servers fuel script, depending on which one you have (if any). This script includes direct support for using no fuel script (standalone), cdn-fuel and legacy-fuel - however any fuel script can be added with some additional configuration.
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 user_settings.sql
, using your database software.
CREATE TABLE IF NOT EXISTS md_vehmenu_ui_settings (
license2 VARCHAR(64) NOT NULL,
uiscale FLOAT NOT NULL DEFAULT 1.0,
uileft INT NOT NULL DEFAULT 0,
uitop INT NOT NULL DEFAULT 0,
PRIMARY KEY (license2)
);
Enabling Onesync
Follow this Guide by Quasar to enable onesync on your server. This is required to ensure proper synchronisation of indicators between players.
Configuring Your Resource
Read the pages in Configuration to configure the script as needed.
Last updated