[PAID] ESX & QBCore Yacht Property System

​Yacht Property System

Add new RP opportunities with the ability to purchase yachts on your server, get your players to start flexing all that money! Works perfectly alongside Gabz yacht maps but will work with others too!

Features:

  • No obfuscation, you can edit everything.
  • Easy to use config with functions to support any inventory or clothing system.
  • ESX and QBCore compatibility.
  • OxMySQL, Ghmattimysql and MySQL-Async compatibility.
  • Stashes, helipad garages, boat garages, wardrobes.
  • Menu to create yacht listings as a realtor or admin in-game.
  • Blips for listed yachts.
  • Key system to give and remove access to your yacht with other players.
  • Ability to change the locks on your yacht.
  • Ability for police to raid yachts.

Purchase Here: Yacht Property System


8 Likes

preview?

There is 2 on the post showing the listings menu and entering/exiting the interior of the yacht.

only?

Looking good Scullyy!

1 Like

getting this error when using “listyacht” command

SCRIPT ERROR: @scully_yachts/functions/framework.lua:30: attempt to call a nil value (field ‘ShowNotification’)

In config, I have it set to “es_extended”

1 Like

Hello, my apologies. I have pushed out a fix for this error, it was a misplacement made within the functions I use for multiple framework compatibility.

1 Like

Should maybe add this to the fxmanifest for those of us that don’t use oxmysql or at least give a requirement for ox.

'@mysql-async/lib/MySQL.lua',
1 Like

ESX legacy uses ox, ox is currently the only good maintained SQL wrapper. I will always only support the latest as people should be keeping their resources updated.

1 Like

Only if you use the OX version or the very latest update. I use esx legacy and it doesn’t have support for OX. However, it’s not the very latest release. I have way to many modifications to try to update it.

I understand that but I’m not going to spend time working on compatibility for outdated resources. Many developers are now only supporting the latest with oxmysql as it’s what everyone should be using now. I highly suggest spending the time to update your resources as you’re going to struggle finding scripts that are compatible with your server going forward.

yeah, I know… Just not looking forward to it because most actually don’t support ox. I had ox running before, but nothing used it and with all the grindy work I’m already doing, I didn’t want to add to the list. LOL

So, not to keep piling stuff on you, but I setup the boat garage and it shows up, but it’s not spawning the boat I put in the garage. Shows it as NULL even though it’s a stock GTA boat. Also, after I click on it, I no longer can open the menu until I restart.

I’m not seeing any errors in F8 or server console

image

Can you send me a screenshot of the name of the boat

1 Like

Speeder. Same thing is happening with the helipad. I put a buzzard in there.

I don’t know, I’m guessing that me not being on the latest Legacy and n is just causing issues. After a server restart, I also have to restart the script to get anything to show up.

Just in case it is an oxmysql issue, I put in the latest version of it. Still the same issue after a server restart, however it did at least give me this. Not sure if it will help

[      script:oxmysql] [DEBUG] scully_yachts took 1.042599ms to execute a query!
[      script:oxmysql]       SELECT * FROM owned_yachts []
[      script:oxmysql] [DEBUG] scully_yachts took 4.844037ms to execute a query!
[      script:oxmysql]       SELECT * FROM owned_vehicles WHERE job = ? AND owner = ? ["heli-Chips Ahoy","5a1dd17480f201232a2ff4db20468d40bf49c1ee"]

Can you send a screenshot of your owned_vehicles table

1 Like

Sorry it took so long. So, updated legacy (that was a pain to decipher a couple of changes) because it’s really bugging me that I have to restart the script after a restart.

So now, latest ESX Legacy and latest oxmysql, same issues.

Hey, apologies again. My buddy who tested it on esx legacy for me as I currently use QBCore failed to mention he had a modified esx so I started up my own and a fix will be pushed out in 2 minutes.

Update

  • Added blips so players can see their owned yachts on the map.
  • Fixed ESX compatibility issues, thanks to @ThatOtherGuy for reporting them. :slight_smile:
1 Like

Everything is working perfect now. Thank you for your time.

1 Like