ok thats great thank you!
i did follow the installation so im not sure why it is acting the way it does⌠everything works u can purchase them fly them then store them in the garage but when u try and sell. nothing
Yeah iâm not sure what the problem is. It works perfectly fine for me & nobody else has had an issue. Have you tried to buy them then right after buying it try selling it. Also have you edited any of the code. If none of the above you might have another script that is causing the problem or your load order is off. Send me your script load order.
right now im starting all of these at the end of my startup. should they be before some other things within esx or
Well here is an example of my startup. And with my startup i havenât had any problems. Just a note es & esx plugins should always start before non es/esx plugins. Just depends on what non es/esx plugin it is.
# Default Scripts
start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start â â â â â â â
start playernames
start baseevents
# MySQL aSync
start mysql-async
# Essential Scripts
start essentialmode
start esplugin_mysql
start es_admin2
start async
start es_extended
start scoreboard
start instance
start cron
start skinchanger
start esx_skin
start esx_menu_default
start esx_menu_list
start esx_menu_dialog
start esx_phone
start esx_addonaccount
start esx_addoninventory
start esx_datastore
start esx_society
start esx_service
start esx_billing
start esx_identity
# ESX Jobs
start esx_jobs
start esx_joblisting
start esx_taxijob
start esx_mecanojob
start esx_policejob
start esx_ambulancejob
# ESX Other Scripts
start esx_status
start esx_basicneeds
start esx_shops
start esx_clotheshop
start esx_tattooshop
start new_banking
start esx_license
start esx_weashops
start esx_moneywash
start esx_lscustom
start esx_dmvschool
start esx_carwash
start esx_AdvancedFuel
start esx_barbershop
start esx_accessories
start esx_property
start esx_spectate
start esx_rpchat
start esx_customchat
start esx_vehicleshop
start esx_boatshop
start esx_aircraftshop
start esx_eden_garage
start esx_eden_boatgarage
start esx_eden_aircraftgarage
start esx_slotmachine
start esx_hospital
start eden_jail
start esx_jailer
start esx_holdup
start esx_borrmaskin
start esx_holdupbank
start esx_drugs
start esx_drugeffects
start esx_outlawalert
start esx_panicbutton
start esx_thief
start esx_extraitems
# Other mods
start custommapaddons
start loadingscreen
start hrc
start vSync
start vVoice
# assault_vehicles
start customcarsciv
#customcarsjob
start customcarstest
start custompeds
start heli
start BrockALPR
start RealAITraffic
start simpleinteractions
start customscripts
start VehicleExtraMenu
start mellotrainer
start ToastysCruiseControl
start LeaveEngineRunning
start RealisticVehicleFailure
# Temp Mods
# showcoords
So first things first since you edited the script & changing stuff around i do not give support. You changed everything that i worked on. Maybe change everything back to the way it used to be and i bet you that it will work. And next time you edit a script make sure you know what your doing.
But do me a favor & tell me if this works or not. Reinstall a fresh copy of what all i did & tell me if it works. Donât edit any of the locations, client files, or server files. If a fresh copy of mine works then you changed something you shouldnât or you just simply donât know what your doing.
i understand if your upset. but all i did was move the sell point. nothing else was edited. and even before i moved it it was the same result. but i can switch it back and take another video⌠i was trying to show u the issue i was having
No iâm not mad at all. But the fact is that your mysql error that you have popping up mean you changed the sql around. It canât find the table called skrub.rented_aircrafts. Last time i checked there isnât that line of code anywhere. Meaning you edited the sql. If the sql is messed up it is most likely the cause of the script not working.
So for instance if you changed the sql to make a table called skrub.rented_aircrafts then you need to go inside server/main.lua and change the lines that have rented_aircrafts to skrub.rented_aircrafts
You get what i am saying. So maybe a good fix that might actually work is to upload the default sql file i included.
Update: So if you have your sql to create the table skrub.rented_aircrafts and you want to keep that then you will need to make sure you go to the server/main.lua and make the changes so everything matches up. Like i had said before. You edited something or didnât install it right. But in the case where its showing the skrub.rented_aircrafts error for mysql means you didnât go into the lua files and make changes on there as well.
skrub is the name of the database. rented_aircrafts is the table. Itâs just how some database editors do it.
Ah i see. But that still doesnât explain why he is having problems but nobody else has reported any problems. Even i donât have the problems that he is having. So something else isnât working for him then.
Just read the error. It quite frankly gives the issue. The table doesnât exist. My guess is that he didnât install the .sql correctly.
got it working after fixing a missing tabel
Following the latest update to the plates i have gotten both Aircraft/Boat shop Updated. Make sure you fix you DB. Also got the Vehicle, Boat, & Aircraft Garage updated to use the latest Plate System. The Vehicle garage also has supports property Garages. You can find the downloads on my github page. Also if you are having problems with vehicles not showing up make sure you go through your DB for owned_vehicles & you have set plates as the primary key. The order should go Owner, Plate, Vehicle, State If you have any problems please let me know & i will assist on helping others change over to the new plate system.
The owned_vehicles, owned_boats, & owned_aircrafts needs to look like this if you want your vehicles to save correctly in the DB.
Make sure you also update your rented_vehicles, rented_boats, & rented_aircrafts to look like this if you allow players to rent vehicles.
As far as that everything should now work like they should. If you take a look at esx_vehicleshop, esx_boatshop, or esx_aircraftshop you will see the new setup. They have been removing ID from the works of some things. For instance ID for most of the stuff in the DB is set as the Primary Key. But in the new setup of things name is the Primary Key so there isnât duplicates of names that would cause problems. Below i will list some of the new Primary Keys that have changed in esx_vehicleshop, esx_aircraftshop, esx_boatshop, as well as esx_jobs & a few other esx scripts that i use:
- owned_vehicles, owned_boats, & owned_aircrafts - Primary Key was âidâ but was changed to âplateâ
- rented_vehicles, rented_boats, & rented_aircrafts - Primary Key was âidâ but was changed to âplateâ
- vehicle_categories, boat_categories, & aircraft_categories - Primary Key was âidâ but was changed to ânameâ
- vehicles, boats, & aircrafts - Primary Key was âidâ but was changed to âmodelâ
- jobs - Primary Key was âidâ but was changed to ânameâ
- items - Primary Key was âidâ but was changed to ânameâ
That is all i have that i changed. The reason for switching from âidâ to âplateâ is to stop duplicating license plates. As for others like âidâ to ânameâ or âidâ to âmodelâ is to avoid duplicate entries of Items, Jobs, & Vehicles.
In the data base it shows owned vehicles, is there a way to add an owned vehicle to that data base without having to buy it from the dealership. I see that for the owned vehicles there is a model number saying what car it is, but its just a bunch of numbers and nothing that indicates what car is it for me. Can i get that model number of another car in game to manually add that to players owned cars?
example, â{âneonColorâ:[255,0,255],âtyreSmokeColorâ:[41,36,33],âmodHydrolicâ:-1,âplateâ:â02ISS492â,âmodShifterLeaversâ:-1,âmodHornsâ:-1,âmodRoofâ:-1,âwheelsâ:6,âmodLiveryâ:-1,âmodWindowsâ:-1,âmodTrimAâ:-1,âcolor2â:12,âneonEnabledâ:[false,false,false,false],âmodSpoilersâ:-1,âmodSideSkirtâ:-1,âmodRearBumperâ:-1,âmodSteeringWheelâ:-1,âmodPlateHolderâ:-1,âmodStrutsâ:-1,âmodEngineBlockâ:-1,âplateIndexâ:1,âmodSpeakersâ:-1,âmodSeatsâ:-1,âmodDialâ:-1,âmodTransmissionâ:-1,âmodEngineâ:-1,âmodHoodâ:-1,âmodTrimBâ:-1,âmodAirFilterâ:-1,âpearlescentColorâ:5,âmodRightFenderâ:-1,âmodArchCoverâ:-1,âmodTankâ:-1,âmodFrontWheelsâ:38,âmodAerialsâ:-1,âmodDoorSpeakerâ:-1,âmodTurboâ:false,âmodVanityPlateâ:-1,âmodOrnamentsâ:-1,âhealthâ:1000,âmodSuspensionâ:-1,âmodExhaustâ:-1,âmodTrunkâ:-1,âmodArmorâ:-1,âmodGrilleâ:-1,âmodFrameâ:-1,âdirtLevelâ:0.62943887710571,âwheelColorâ:12,âmodFenderâ:-1,âmodBrakesâ:-1,âmodSmokeEnabledâ:1,âmodAPlateâ:-1,âmodFrontBumperâ:-1,âmodBackWheelsâ:-1,âmodXenonâ:1,"model":390201602**,â**modDashboard":-1,âcolor1â:12,âwindowTintâ:-1}"
As far as i know no. If you want to be the only person who owns a vehicle add it to the DB as a high price. Then just give yourself the money & buy it.
Yea i would just do that but then all the other players will see it in there as a high price and everyoneâs just gonna ask questions. Like each car is linked to a model number I just donât know how to find/get that model number without adding to DB and buying it. Unless the car is given a model number when you add it to the data base?
Reported an issue via github regarding the DB missing a table