sailboatYacht System

Purchase

Purchase this resourcearrow-up-right

Installation

circle-info

Framework compatibility

This resource is standalone and works on any FiveM server.

Compatible with ESX, QBCore, QBox, vRP, and other frameworks.

If you are using a framework other than ESX, QBCore, or QBox, follow the Standalone installation instructions.

1

Standalone

  • Put the rtx_yacht and rtx_yacht_objects folders into your resources.

  • Open config.lua.

  • Configure config.lua to your preferences.

  • Upload sql.sql file to your MySQL database.

  • Open fxmanifest.lua and edit it same like on this screenshot: https://i.imgur.com/LWaYxz7.png — remove -- from line 11, or replace line 11 with @oxmysql/lib/MySQL.lua.

  • Add the rtx_yacht and rtx_yacht_objects resources to your server.cfg.

2

QBCore

  • Put the rtx_yacht and rtx_yacht_objects folders into your resources.

  • Open config.lua.

  • Replace Config.Framework = "standalone" with Config.Framework = "qbcore".

  • Configure config.lua to your preferences.

  • Upload sql.sql file to your MySQL database.

  • Open fxmanifest.lua and edit it same like on this screenshot: https://i.imgur.com/LWaYxz7.png — remove -- from line 11, or replace line 11 with @oxmysql/lib/MySQL.lua.

  • Add the rtx_yacht and rtx_yacht_objects resources to your server.cfg.

3

ESX

  • Put the rtx_yacht and rtx_yacht_objects folders into your resources.

  • Open config.lua.

  • Replace Config.Framework = "standalone" with Config.Framework = "esx".

  • Configure config.lua to your preferences.

  • Upload sql.sql file to your MySQL database.

  • Open fxmanifest.lua and edit it same like on this screenshot: https://i.imgur.com/yoULcX4.png — remove -- from line 10, or replace line 10 with @mysql-async/lib/MySQL.lua.

  • Add the rtx_yacht and rtx_yacht_objects resources to your server.cfg.

chevron-rightCommon issueshashtag

Need a key to start yacht

You need to add to your vehicle keys script the whitelist for our vehicle. The vehicle name is: djn_yacht_veh

Object/vehicle names for whitelist to anticheat

  • djn_yacht_veh

Editing other behaviors

In the clientside and in the serverside folder you can edit the other.lua file, for example for wardrobe or storage.

Giving a player a yacht

If you want to give the player a yacht, you can use the following commands:

  • /giveyacht

  • /giveyachtidentifier

Source code for commands is in the server folder in other.lua file.

Notes

This page contains simple installation instructions only.

More detailed instructions, exports, events and developer-related information can be found directly inside the product folder after downloading the resource from the CFX Asset Portal.

Support

If you need help with installation, configuration or have any questions regarding this resource, feel free to contact us on our Discord server:

Join our Discordarrow-up-right

Last updated