myCardealer - A cardealer job script with showrooms, order-management, test-drives and much more

Hello, i have this error :


When i open the computer, and it says : There is no customer next.
Thanks.

Do you use OneSync Infinity?
Because this error could only occur when Config.useOneSyncInfinity is set to true and you don’t actually use it.

1 Like

Hi, thank you for your reply.
I tried without OneSync and it work.
I now have another problem, which is that even if there is someone next to me, the vehicle is selling to me and not to the person next to me, what should I do?

1 Like

There is an ESX Dodtance check performed, which runs through the ESX player loops. Go to your es_extended Config and check whether the slot count is correctly set up.

Hello, I have a problem now. I don’t know how to get customers to generate orders or how to sell. Can you tell me? I need your help, friend.

When there is a customer next to the computer and you open the Computer menu, there will be an option to sell the vehicle, when there are enough vehicles in storage.

2 Likes

Hello, we have the problem as soon as we change the coordinate of a car and set the, and the camera, that we can no longer select the car to sell, even if we only go 3 pay higher how can it be changed ?, Because that doesn’t allow us to move to another MLO. Sorry for my bad English. I’m from Germany.

Hey, we’re currently working on a big update for the cam preview and selling. At the moment adding more then 4 Showrroms would require a small change in the client.lua. But we’re working on an update to make this way easier.

Best regards,
Luis

1 Like

Ok, we only have the 4 additional showrroms that can only be implemented in another MLO. Unfortunately, they didn’t work, then we wait for the update

myCardealer - Update - 13.04.2021

  • Complete recode of player selection for a vehicle purchase. You can now select the correct player in a menu.
  • When a player is selected to sell the car to, you can now access a list of all vehicles and not only the vehicles, which are exhibited.
  • You can now add as many Showrooms as you want without any changes in the client.lua
  • Fixed that a vehicle could be sold again, also when there weren’t enough vehicles in the warehouse.
1 Like

Do we have to buy it again for the update?

1 Like

Got this yesterday and it works perfectly with my other 2 non-player managed dealerships.

A couple suggestions:

  • When spawning a car from the mechanic guy, I can keep spawning the same one over and over, creating a pile of cars - not sure if it is possible to add a check to either see if the vehicle is ‘out’, or even just checking that the area at the back of the dealership is clear before spawning another vehicle?
  • Would it be possible to have the dealership buy cars from players - e.g. if they are part-exchanging. I guess this may be tricky as the car would need to be added to the cardealer sql table before it can then appear for the dealership to use again. For now we are just using the ‘givecarkey’ function (from our esx garage system) to sell the car to the actual dealer player, and then they go and sell it at Simeon’s and deposit the money back into the luxury car dealership.
1 Like

No, of course not.
I’ll send you a link to access the newest update :slight_smile:

1 Like


Kannst du mir helfen?
Can you help me?

I think that is a standard ESX bug that always occurs for me - see how it has the same error for vehicleshop and ambulance above it? It hasn’t caused me any actual gameplay issues, but always appears when the server starts (along with a couple of other ESX resources).


Ich habe ganze Zeit das problem
I have this problem

Kann es sein das das script nicht kompatibel ist mit esx_advanced garage und esx_advancedvehicleshop? Wir mussten extra esx:vehicleshop istallieren. Mann kann die fahrzeuge jetzt kaufen und können sie einparken aber nicht ausparken da sie Mit NULL in der datenbak eingespeichert werden hast du ein tip ?

Ah okay yeh that is definitely not initializing ESX properly at the start of the script. Have you edited it in anyway? I dropped mine into an ESX server and it ran fine with no modification. Assume you are running ESX 1.2 final?

1 Like

i add addon cars

Hey, basically you can just delete client.lua 66, because it’s completely unused in the further script.
That’s why it doesn’t cause any issues at all when this error occurs too.