![[PAID] [QB-CORE] [ESX] Unique Barn Find System main image](https://forum-cfx-re.akamaized.net/original/4X/0/8/a/08a0d512bbe521400b3455d8faa1790e969e5221.png)
![[PAID] [QB-CORE] [ESX] Unique Barn Find System thumbnail 1](https://forum-cfx-re.akamaized.net/original/4X/0/8/a/08a0d512bbe521400b3455d8faa1790e969e5221.png)
![[PAID] [QB-CORE] [ESX] Unique Barn Find System thumbnail 2](https://forum-cfx-re.akamaized.net/optimized/4X/6/7/4/67443b62da5c4f2794148c7b504eb860e53f92a1_2_690x246.jpeg)
Price
UnknownA script by Rhodiniium
Price
UnknownThis script was made to give some players the ability to find and own imported vehicles in a manor never seen before on any FiveM server.
This script could be better but I will leave that up to you guys and will leave the code none obfuscated.
What is Barn Finds?:
Bad points (sort of):
How do players use the resources and repair the vehicle?:
/copper AMOUNT
/aluminium AMOUNT
/steel AMOUNT
/plastic AMOUNT
/glass AMOUNT
/rubber AMOUNT
PRE WARNING: In the server.lua on line 60 you will need to add your own garage systems storing method, This resource was made with BB Garages, Simple enough to do, Just go to your car shop resource and see how they do it. (I can also help with this if needed)
QBCore.Functions.ExecuteSql(false,"INSERT INTO `bbvehicles` (`citizenid`, `plate`, ` ETC ETC ETC
The script was made to be easily edited as shown below this is the config:
Config = {
VehicleName = 'challenger', --HERE YOU CHANGE THE CAR YOU WANT TO SPAWN
VehicleLoc = { --THE LOCATION OF WHERE THE VEHICLE WILL BE
x = 1981.8708,
y = 5174.2685,
z = 46.858005,
h = 130.32205,
},
VehicleCost = { --THE COST IN RESOURCES IT TAKES TO REPAIR THE VEHICLE
copper = 650,
aluminum = 650,
steel = 750,
plastic = 320,
glass = 150,
rubber = 200,
},
ShopLoc = { --WHERE THE CAR GOES ONCE CLAIMED
x = 103.88192,
y = 6623.1044,
z = 31.824226,
h = 224.93014,
},
IsClaimed = false, --DONT EDIT
Winner = nil, --DONT EDIT
WinnerCid = nil, --DONT EDIT
Bop = false, --DONT EDIT
}
SHOWCASE:
DEPENDANCIES:
ghmattmysql
qbcore
FEATURES:
GET IT HERE: https://kazumidevelopments.tebex.io/package/4991078
ESX VERSION THANKS TO @ToXicGlo > https://kazumidevelopments.tebex.io/package/4993790
If you run into issues please feel free to message me here on the FiveM Forums.
No approved reviews found for this script yet.