Advertising
Navigation
Information

GTA 4 Mods

:

Modifications

IV Car Dealers


Author: SixStarKing
Date: 24.07.2024
Downloads: 11209 | Statistics
Filesize: 0.458 MB

Rating:
10.00 based on 7 votes

This mod enables the vehicle dealerships in Gta4.
You can buy or sell vehicles by going in one of the five stores in LC, like Grotti and AutoErotiCar.
Just go inside the dealership area and press E to activate.

# How to buy a vehicle

- Go on foot inside one of the car stores and press [E]
- A dealer will come, and you'll see "Buying" on the screen.
- get near a car you are interested, you will see the price
- then press [E] to buy it.
- or optionally, press [BACKSPACE] to bargain a better price.

# How to sell your vehicle

- While driving your car, go inside one of the car stores and press [E]
- A dealer will come, and you'll see "Selling" on the screen.
- You can leave the vehicle at this point if you want.
- press [BACKSPACE] to bargain a better deal.
- then press [E] to sell it.

* There is a limited number of bargains you can try for each vehicle.

# Where to buy a vehicle

- AutoErotiCar - Alderney
- Westdyke Autos - Alderney
- Grotti - Algonquin
- Big Paulie Budget Autos - Alderney
- Sales & Parts - Bohan

Check the map that comes with the mod.

# How to cancel the deal?

If you choose not to buy/sell the vehicle, just leave the area.

# Installation

Copy the contents of the mod inside the game folder.
The mod files are:
IVCarDealers.asi - the mod itself
car_dealers/ - a folder
car_dealers/dealers.csv - dealership data
car_dealers/dealers.conf - configuration file (optional)

# Configuration (optional)

Once you have installed the game, inside the game folder, there will be a directory named "car_dealers", inside you will find a sample config file named "car_dealers.conf"
Edit this file, removing the '#' character from the line you wan't to adjust.
Basically there is only two adjustments:

price_rate_buy - the fraction of the price when buying a car
price_rate_sell - the fraction of the price when selling a car

This is the fraction of the price from the original "monetary value" of the game.
Usually you want the sell to be a bit lower.
If this number is "1.0", the car will be sold by the original monetary value of the car.
The values must be in decimal format.

## HAVE FUN!!!

Advertising
Download
Advertising
Report
Mod Report

Are you the owner of this mod? If someone has stolen your work, you can make a request for removing this mod.

Report this mod

Screenshots
Videos
Add a Youtube video

29 comments found
Name:


Comment text:


reload, if the code cannot be seen

Attention:
You need to be registered and signed in to post comments!
24.07.2024, 21:47

Lol single handedly creating a functional economy for IV. Keep it up! I hope for some crime oriented stuff :D


VeryNoobDad
"Vic"
Vic
Comments: 0
Profile
Message
25.07.2024, 10:54

Dirolgood


crockett90
"Vic"
Vic
Comments: 0
Profile
Message
25.07.2024, 13:59

You are the best! Will test it out right away


crockett90
"Vic"
Vic
Comments: 0
Profile
Message
26.07.2024, 08:47

hey man tested this out, some feedback:

- the salesmen in big paulie and sales and parts dealership spawn only when you press E (while for grotti and autoeroticar they are there already)
- there are no cars spawning at big paulies budget cars

also as a suggestion it would be great to be able to customize which cars can be purchased in each dealership (at least where you have space to spawn cars via the script)


SixStarKing
"Vic"
Vic
Comments: 0
Profile
Message
26.07.2024, 15:24

 Quote: crockett90

hey man tested this out, some feedback:

- the salesmen in big paulie and sales and parts dealership spawn only when you press E (while for grotti and autoeroticar they are there already)
- there are no cars spawning at big paulies budget cars

also as a suggestion it would be great to be able to customize which cars can be purchased in each dealership (at least where you have space to spawn cars via the script)


Heyyyy, thanks for trying it out!

The guys standing inside Grotti and Autoeroticar are probably just in-game random NPCs, they won't sell you anything.
You should always press E to start the deal mode.

For Big Paulie, you need a bit of luck to find it open, I noticed that timing matters.
Like it's always closed on weekends, seems that the afternoon and evenings are the best time to find cars there. The same seems to apply to Sales & Parts, though a bit more active. I guess this is another fine detail the developers put on this game, as they are smaller dealers, they have limited working hours.

The mod, as it is, doesn't spawn any car, it uses the cars the game have already placed there.

Maybe we could add a special case for big paulie, spawn some if there is none. The problem is that, for that to happen, the mod would need to always check if the player is in the area, which may be performance costly. I need to check this. Probably the best way to handle it would be to modify the game file that gives this behavior to paulie. But I have no clue how to do it.

Anyway, thanks for the feedback!

PS: there is a new version under moderators review. Small improvements and bug fixes, should be available soon. Version 1.0.1


SixStarKing
"Vic"
Vic
Comments: 0
Profile
Message
26.07.2024, 15:36

New version is out

Small improvements and fixes

VERSION 1.0.1
- fix unwanted log file from being created (bugfix).
- seller reacts negatively when bargain is exhausted.
- seller thanks after deal is done.
- round prices end to "99".

Check if your downloaded zip file has 1.0.1 tag on it.


ChopItUp
"Vic"
Vic
Comments: 0
Profile
Message
26.07.2024, 19:07

does not seem to work for me even after following install? can u maybe post a tut


SixStarKing
"Vic"
Vic
Comments: 0
Profile
Message
26.07.2024, 19:46

@ChopItUp
Hey!
First make sure you have an ASI loader.

Then, copy the following files inside the game folder.

IVCarDealers.asi - the mod itself
car_dealers/ - a folder
car_dealers/dealers.csv - dealership data

Start the game and go in one of the dealership areas (check the map that comes with the mod), once there, press "E".

If that still doesn't work, you may check if your asi loader produces a log file. There you can see if the mod was correctly loaded. If not, please post the log.

That should work. If not, let me know and we'll figure that out.


ChopItUp
"Vic"
Vic
Comments: 0
Profile
Message
26.07.2024, 20:07

@SixStarKing@SixStarKing still nothing sadly idk i feel like im doing everything good?


SixStarKing
"Vic"
Vic
Comments: 0
Profile
Message
26.07.2024, 22:15

@ChopItUp
What version of the game you have? I only tested on v1.0.7.0

Does your ASI loader produces a log file? If so, can you post it here?

Are you placing the mod files in the same folder that PlayGTAIV.exe is, right?

Do you have any other ASI mod?


crockett90
"Vic"
Vic
Comments: 0
Profile
Message
26.07.2024, 22:21

Well I found out that you can spawn a car anywhere you want via a trainer, and that can be bought just like the other owns spawned by the game. So that’s not an issue anymore!


TrukoFresH
"Vic"
Vic
Comments: 0
Profile
Message
10.08.2024, 21:05

Mods like this could fix the big problem with GTA IV; the lack of value for money. Creating mods that give you something to spend money on increases replayability.


EdEdEdEd
"Vic"
Vic
Comments: 0
Profile
Message
09.09.2024, 10:32

This looks cool! Gonna try it out. It's nice to finally have something to spend money on in this game.


jmonk
"Vic"
Vic
Comments: 0
Profile
Message
21.09.2024, 00:37

The mod works great! However, one design flaw is that you can basically buy any car you want even if you don't have the money


aapp3939
"Vic"
Vic
Comments: 0
Profile
Message
24.09.2024, 15:54

I entered the dealership and pressed E but nothing happened. : (


// -- GTA IV ASI LOADER LOG -- //
//-- (C) Alexander Blade 2008 -- //
C:WINDOWSsystem32dsound.dll is loaded, address 0x738E0000
Hooking dsound proc named "DirectSoundCreate"
"DirectSoundCreate" hooked, address 0x7391BFA0
Hooking dsound proc named "DirectSoundEnumerateA"
"DirectSoundEnumerateA" hooked, address 0x7391C0B0
Hooking dsound proc named "DirectSoundEnumerateW"
"DirectSoundEnumerateW" hooked, address 0x7391C0D0
Hooking dsound proc named "DllCanUnloadNow"
"DllCanUnloadNow" hooked, address 0x73925060
Hooking dsound proc named "DllGetClassObject"
"DllGetClassObject" hooked, address 0x7390D060
Hooking dsound proc named "DirectSoundCaptureCreate"
"DirectSoundCaptureCreate" hooked, address 0x7391BE50
Hooking dsound proc named "DirectSoundCaptureEnumerateA"
"DirectSoundCaptureEnumerateA" hooked, address 0x7391BF60
Hooking dsound proc named "DirectSoundCaptureEnumerateW"
"DirectSoundCaptureEnumerateW" hooked, address 0x7391BF80
Hooking dsound proc named "GetDeviceID"
"GetDeviceID" hooked, address 0x7391C3C0
Hooking dsound proc named "DirectSoundFullDuplexCreate"
"DirectSoundFullDuplexCreate" hooked, address 0x7391C0F0
Hooking dsound proc named "DirectSoundCreate8"
"DirectSoundCreate8" hooked, address 0x739102D0
Hooking dsound proc named "DirectSoundCaptureCreate8"
"DirectSoundCaptureCreate8" hooked, address 0x7391BD30
Loading ASI D:steamsteamappscommonGrand Theft Auto IVGTAIVaCompleteEditionHook.asi
ASI loaded : D:steamsteamappscommonGrand Theft Auto IVGTAIVaCompleteEditionHook.asi, Address 0x73AB0000
Loading ASI D:steamsteamappscommonGrand Theft Auto IVGTAIVAdvancedHookInit.asi
ASI loaded : D:steamsteamappscommonGrand Theft Auto IVGTAIVAdvancedHookInit.asi, Address 0x73AA0000
Loading ASI D:steamsteamappscommonGrand Theft Auto IVGTAIVIVCarDealers.asi
ASI loaded : D:steamsteamappscommonGrand Theft Auto IVGTAIVIVCarDealers.asi, Address 0x00000000
Loading ASI D:steamsteamappscommonGrand Theft Auto IVGTAIVScriptHookDotNet.asi
ASI loaded : D:steamsteamappscommonGrand Theft Auto IVGTAIVScriptHookDotNet.asi, Address 0x6AAE0000
Loading ASI D:steamsteamappscommonGrand Theft Auto IVGTAIVpluginsGTA4.CHS.asi
ASI loaded : D:steamsteamappscommonGrand Theft Auto IVGTAIVpluginsGTA4.CHS.asi, Address 0x00000000
Loading ASI D:steamsteamappscommonGrand Theft Auto IVGTAIVpluginsGTAIV.EFLC.FusionFix.asi
ASI loaded : D:steamsteamappscommonGrand Theft Auto IVGTAIVpluginsGTAIV.EFLC.FusionFix.asi, Address 0x680F0000


anotherplayer
"Vic"
Vic
Comments: 0
Profile
Message
01.10.2024, 10:30

compatible wit ivsdk.net?


SixStarKing
"Vic"
Vic
Comments: 0
Profile
Message
06.10.2024, 23:39

@aapp3939
Based on your logs I can see that the mod wasn't loaded cray
Unfortunately I can't tell why. But it seems that another mod named GTA4.CHS.asi also didn't load, and it might be for the same reason this one don't.
First I would check if you have all the required files in your gta folder.
Then disable all the other mods and see if this one works.


SixStarKing
"Vic"
Vic
Comments: 0
Profile
Message
06.10.2024, 23:42

 Quote: anotherplayer

compatible wit ivsdk.net?

I believe it shouldn't bother at all. This mod was written in C++, so it shouldn't mess with dot net stuff.
Anyway let me know if you have any issues.


SixStarKing
"Vic"
Vic
Comments: 0
Profile
Message
06.10.2024, 23:43

 Quote: jmonk

The mod works great! However, one design flaw is that you can basically buy any car you want even if you don't have the money

I can't believe I missed something so obvious dash
Gonna fix it asap!
thanks


D1YU
"Vic"
Vic
Comments: 0
Profile
Message
12.11.2024, 07:50

I have a small problem, when I go to "sales and parts" and press E, nothing happens, no seller appears, I don't know if the stores have opening hours or something similar (I have only been able to test the mod in this location due to my progress in the game)


SixStarKing
"Vic"
Vic
Comments: 0
Profile
Message
23.11.2024, 22:08

@D1YU From what you said I wonder if maybe the mod wasn't loaded at all.
You can check the asiloader logs to see if it was loaded correctly.
The mod should spawn a car seller even tho there is no car or it's in odd hours. Try to go inside the store area, in Sales & Parts the location is pretty close to the door. Pressing E, a seller should spawn. If that's not happening, more probably the mod wasn't loaded for some reason.


SixStarKing
"Vic"
Vic
Comments: 0
Profile
Message
27.11.2024, 16:13

Hey!!! A new version is out! biggrin

VERSION 1.0.2 - 2024-11-23
- prevent sale when player don't have the cash (thanks @jmonk)
- track dealer even when selling and away from car
- performance improvements

Thanks for the feedback! good


OOF_TVYT
"Vic"
Vic
Comments: 0
Profile
Message
11.01.2025, 17:56

Mod doesn't really do anything.. I tried in 2 different car shops, at different times, and I can't do anything at the car shops. Hell, no mods I seem to install appear to work (except for ONE SINGLE TRAINER MOD). Am I doing something wrong here?


OOF_TVYT
"Vic"
Vic
Comments: 0
Profile
Message
11.01.2025, 18:28

If I use xlive as an asi loader, the game launches but the mod doesn't seem to load and I get no log file. If I try to use dsound as an asi loader, the game doesn't launch and gives an error. Here's the logs from when it gives an error:

// -- GTA IV ASI LOADER LOG -- //
//-- (C) Alexander Blade 2008 -- //
C:Windowssystem32dsound.dll is loaded, address 0x689B0000
Hooking dsound proc named "DirectSoundCreate"
"DirectSoundCreate" hooked, address 0x689EBFA0
Hooking dsound proc named "DirectSoundEnumerateA"
"DirectSoundEnumerateA" hooked, address 0x689EC0B0
Hooking dsound proc named "DirectSoundEnumerateW"
"DirectSoundEnumerateW" hooked, address 0x689EC0D0
Hooking dsound proc named "DllCanUnloadNow"
"DllCanUnloadNow" hooked, address 0x689F5060
Hooking dsound proc named "DllGetClassObject"
"DllGetClassObject" hooked, address 0x689DD060
Hooking dsound proc named "DirectSoundCaptureCreate"
"DirectSoundCaptureCreate" hooked, address 0x689EBE50
Hooking dsound proc named "DirectSoundCaptureEnumerateA"
"DirectSoundCaptureEnumerateA" hooked, address 0x689EBF60
Hooking dsound proc named "DirectSoundCaptureEnumerateW"
"DirectSoundCaptureEnumerateW" hooked, address 0x689EBF80
Hooking dsound proc named "GetDeviceID"
"GetDeviceID" hooked, address 0x689EC3C0
Hooking dsound proc named "DirectSoundFullDuplexCreate"
"DirectSoundFullDuplexCreate" hooked, address 0x689EC0F0
Hooking dsound proc named "DirectSoundCreate8"
"DirectSoundCreate8" hooked, address 0x689E02D0
Hooking dsound proc named "DirectSoundCaptureCreate8"
"DirectSoundCaptureCreate8" hooked, address 0x689EBD30
Loading ASI C:Program FilesRockstar GamesGrand Theft Auto IVIVCarDealers.asi
ASI loaded : C:Program FilesRockstar GamesGrand Theft Auto IVIVCarDealers.asi, Address 0x00000000
Loading ASI C:Program FilesRockstar GamesGrand Theft Auto IVScriptHookDotNet.asi
ASI loaded : C:Program FilesRockstar GamesGrand Theft Auto IVScriptHookDotNet.asi, Address 0x00000000


SixStarKing
"Vic"
Vic
Comments: 0
Profile
Message
14.01.2025, 23:20

@OOF_TVYT Bro, if you see " Address 0x00000000" that means the asi loader could not load the mods.
In your logs, both .asi mod files failed loading. I don't know what, but something is missing there.
Is your game downgraded?


OOF_TVYT
"Vic"
Vic
Comments: 0
Profile
Message
15.01.2025, 12:01

Should my game be downgraded? You don't say anything about it having to be downgraded and all the other mods I've been using say that the patch I'm on is fine.


28.02.2025, 12:03

@SixStarKing Can you do a drug dealing mod? All the currently available ones are horribly outdated. It would be nice to have an updated version of the Interactivity mod or something of the sort. Nice work on this, it helps cause it starts to create an economy for this great game.


OOF_TVYT
"Vic"
Vic
Comments: 0
Profile
Message
04.03.2025, 15:29

@SixStarKing I downgraded my game to 1.0.8 and the mod works fine, sorry for being pedantic. I do occasionally get a wanted level when I get into a car I just bought, which is weird.


TheE39Guy
"Vic"
Vic
Comments: 0
Profile
Message
21.04.2025, 01:41

This is an awesome mod and works wonderfully! However maybe you could add blips on the map for the different car dealers? Thanks!