Replace Player Vehicle Script 3.0.1 (FIX ADDON VEHICLE NOT SPAWNING)
40,117
327
40,117
327
this mod is a simple script to replace the players personal vehicle with another vehicle, the mod even supports the use of addon vehicles as the players new vehicle
mod supports replacing Franklin's Buffalo and Bagger, Trevor's Bodhi and Quadbike, and Michael's Tailgater
after installing this is how you replace players vehicle
1) Press F7 (or whatever key OPEN_MENU_KEY is set to ReplacePlayerVehicle\SettingsData.ini) a menu will pop up, you have three main options, Replace Player Car (can be set to True/False), Set Player Original Car, and Set Player Replace Car
2) for the charaters vehicle you want to replace find their vehicle (example Trevor's Bodhi, Franklin's Buffalo), next open the menu and Select 'Set Player Original Car', you will get a message saying this vehicle has been set to players original car
3) again for the player you want to replace their vehicle, find/spawn the vehicle you want to be there repalcement vehicle, open the menu once your sitting in the vehicle you want to be their replacement vehicle and hit 'Set Player Replace Car'
4 next simply switch 'Replace Player Car' to true, it is highly recomended that if you using an addon vehicle if you uninstalling the addon vehicle to switch 'Replace Player Car' back to false
full tutorial on how to do it here https://www.youtube.com/watch?v=QItP94y5ohw skip to 4.16
1.0
initial release
1.1
added safeguards to prevent mod crashing when failing to replace players vehicle
fixed vehicle not wanting to start
2.0 Mod Converted over to LemonUI, no more need of NativeUI
3.0
fixed some addon vehicles not spawning for example
https://www.gta5-mods.com/vehicles/2021-ford-bronco-wildtrak-add-on-fivem
Install
drop ReplacePlayerVehicle.dll and ReplacePlayerVehicle folder into scirpts, if you dont have one create a script folder named 'scripts' and NOT 'Scripts'
drop my HKHModHelperNew into scripts if it is not already there, make sure the version you have is 2.8.5 or above
install scripthookv
install scripthookvdotnet, place all 7 files that come with scirpthookvdontet into root folder (where PlayGtav.exe is)
download LemonUI from https://www.gta5-mods.com/tools/lemonui and put in scripts folder
mod supports replacing Franklin's Buffalo and Bagger, Trevor's Bodhi and Quadbike, and Michael's Tailgater
after installing this is how you replace players vehicle
1) Press F7 (or whatever key OPEN_MENU_KEY is set to ReplacePlayerVehicle\SettingsData.ini) a menu will pop up, you have three main options, Replace Player Car (can be set to True/False), Set Player Original Car, and Set Player Replace Car
2) for the charaters vehicle you want to replace find their vehicle (example Trevor's Bodhi, Franklin's Buffalo), next open the menu and Select 'Set Player Original Car', you will get a message saying this vehicle has been set to players original car
3) again for the player you want to replace their vehicle, find/spawn the vehicle you want to be there repalcement vehicle, open the menu once your sitting in the vehicle you want to be their replacement vehicle and hit 'Set Player Replace Car'
4 next simply switch 'Replace Player Car' to true, it is highly recomended that if you using an addon vehicle if you uninstalling the addon vehicle to switch 'Replace Player Car' back to false
full tutorial on how to do it here https://www.youtube.com/watch?v=QItP94y5ohw skip to 4.16
1.0
initial release
1.1
added safeguards to prevent mod crashing when failing to replace players vehicle
fixed vehicle not wanting to start
2.0 Mod Converted over to LemonUI, no more need of NativeUI
3.0
fixed some addon vehicles not spawning for example
https://www.gta5-mods.com/vehicles/2021-ford-bronco-wildtrak-add-on-fivem
Install
drop ReplacePlayerVehicle.dll and ReplacePlayerVehicle folder into scirpts, if you dont have one create a script folder named 'scripts' and NOT 'Scripts'
drop my HKHModHelperNew into scripts if it is not already there, make sure the version you have is 2.8.5 or above
install scripthookv
install scripthookvdotnet, place all 7 files that come with scirpthookvdontet into root folder (where PlayGtav.exe is)
download LemonUI from https://www.gta5-mods.com/tools/lemonui and put in scripts folder
First Uploaded: January 04, 2021
Last Updated: May 16, 2022
Last Downloaded: 6 minutes ago
All Versions
166 Comments
More mods by HKH191:

- Trainer
- Gameplay
- Player
4.73
360,644
1,515
9.0 (Fix Request Interiors Crash)
By HKH191
this mod is a simple script to replace the players personal vehicle with another vehicle, the mod even supports the use of addon vehicles as the players new vehicle
mod supports replacing Franklin's Buffalo and Bagger, Trevor's Bodhi and Quadbike, and Michael's Tailgater
after installing this is how you replace players vehicle
1) Press F7 (or whatever key OPEN_MENU_KEY is set to ReplacePlayerVehicle\SettingsData.ini) a menu will pop up, you have three main options, Replace Player Car (can be set to True/False), Set Player Original Car, and Set Player Replace Car
2) for the charaters vehicle you want to replace find their vehicle (example Trevor's Bodhi, Franklin's Buffalo), next open the menu and Select 'Set Player Original Car', you will get a message saying this vehicle has been set to players original car
3) again for the player you want to replace their vehicle, find/spawn the vehicle you want to be there repalcement vehicle, open the menu once your sitting in the vehicle you want to be their replacement vehicle and hit 'Set Player Replace Car'
4 next simply switch 'Replace Player Car' to true, it is highly recomended that if you using an addon vehicle if you uninstalling the addon vehicle to switch 'Replace Player Car' back to false
full tutorial on how to do it here https://www.youtube.com/watch?v=QItP94y5ohw skip to 4.16
1.0
initial release
1.1
added safeguards to prevent mod crashing when failing to replace players vehicle
fixed vehicle not wanting to start
2.0 Mod Converted over to LemonUI, no more need of NativeUI
3.0
fixed some addon vehicles not spawning for example
https://www.gta5-mods.com/vehicles/2021-ford-bronco-wildtrak-add-on-fivem
Install
drop ReplacePlayerVehicle.dll and ReplacePlayerVehicle folder into scirpts, if you dont have one create a script folder named 'scripts' and NOT 'Scripts'
drop my HKHModHelperNew into scripts if it is not already there, make sure the version you have is 2.8.5 or above
install scripthookv
install scripthookvdotnet, place all 7 files that come with scirpthookvdontet into root folder (where PlayGtav.exe is)
download LemonUI from https://www.gta5-mods.com/tools/lemonui and put in scripts folder
mod supports replacing Franklin's Buffalo and Bagger, Trevor's Bodhi and Quadbike, and Michael's Tailgater
after installing this is how you replace players vehicle
1) Press F7 (or whatever key OPEN_MENU_KEY is set to ReplacePlayerVehicle\SettingsData.ini) a menu will pop up, you have three main options, Replace Player Car (can be set to True/False), Set Player Original Car, and Set Player Replace Car
2) for the charaters vehicle you want to replace find their vehicle (example Trevor's Bodhi, Franklin's Buffalo), next open the menu and Select 'Set Player Original Car', you will get a message saying this vehicle has been set to players original car
3) again for the player you want to replace their vehicle, find/spawn the vehicle you want to be there repalcement vehicle, open the menu once your sitting in the vehicle you want to be their replacement vehicle and hit 'Set Player Replace Car'
4 next simply switch 'Replace Player Car' to true, it is highly recomended that if you using an addon vehicle if you uninstalling the addon vehicle to switch 'Replace Player Car' back to false
full tutorial on how to do it here https://www.youtube.com/watch?v=QItP94y5ohw skip to 4.16
1.0
initial release
1.1
added safeguards to prevent mod crashing when failing to replace players vehicle
fixed vehicle not wanting to start
2.0 Mod Converted over to LemonUI, no more need of NativeUI
3.0
fixed some addon vehicles not spawning for example
https://www.gta5-mods.com/vehicles/2021-ford-bronco-wildtrak-add-on-fivem
Install
drop ReplacePlayerVehicle.dll and ReplacePlayerVehicle folder into scirpts, if you dont have one create a script folder named 'scripts' and NOT 'Scripts'
drop my HKHModHelperNew into scripts if it is not already there, make sure the version you have is 2.8.5 or above
install scripthookv
install scripthookvdotnet, place all 7 files that come with scirpthookvdontet into root folder (where PlayGtav.exe is)
download LemonUI from https://www.gta5-mods.com/tools/lemonui and put in scripts folder
First Uploaded: January 04, 2021
Last Updated: May 16, 2022
Last Downloaded: 6 minutes ago
Doesn't seem to work. I have LemonUI and this mod but the menu doesn't open.
Every time i go back to my safehouse without the car it spawn there but when i'm near it always disappear
LemonUI has fr 8 files in it. Wich am i supposed to put in "scripts" folder?
doesn't seem to work anymore, nothing happens when I press F7
the replaced vehicle keeps getting impounded. is there a fix for this?
Menu doesn't open? how do i fix this
@HKH191 there's also a "nupkg" file inside LemonUI's zip... what am I supposed to do with that?
This is how you make this thing to work:
1. Download versions 1.6 and 1.5.2 of LemonUI;
2. Drop LemonUI.SHVDN2.dll + LemonUI.SHVDN2.pdb + LemonUI.SHVDN2 + LemonUI.SHVDN3.dll + LemonUI.SHVDN3.pdb + LemonUI.SHVDN3 to the scripts folder in your GTA 5 directory. There is a total of 6 files to be added to the scripts folder. Ignore the .nupkg files provided in LemonUI's zip;
3. Add HKHModHelper folder + ReplacePlayerVehicle folder + HKHModHelperNew.dll + ReplacePlayerVehicle.dll into your scripts folder as well.
From now on, just press F7 and the freaking mod will work.
So I've been testing the hell out of this mod, and so far I got one issue only. I'm playing as Franklin and my safehouse is still his aunts house. I used to have a Cheval Picador (let's call it car A) parked in the garage, which automatically saved that vehicle as my own. Eventually, I took the Picador out and saved a new vehicle (let's call it Car B) in the garage . Now, everytime I load my game, vehicle A is impounded. I simply can not get rid of it! I tried selling it at LS Customs, deleteing it with Menyoo, but nothing seems to work. Do you know how can I get rid of vehicle A?
@nickaoke thanks
@HKH191 it this compatible with missions?
@Laksh akre no
Will this affect cutscenes or no?
@RogerDatSoldier no as the mod will interfier with game mission
@HKH191 installed another mod which also uses LemonUI and i got instant errors . I hopped into a car i spawned that is also the same car i use as franks replacement vehicle.
[13:11:31] [DEBUG] Instantiating script HKHModHelperNew.Class1 ...
[13:11:31] [WARNING] A script tried to use a custom script instance of type HKHModHelperNew.SaveCar that was not instantiated by ScriptHookVDotNet.
[13:11:31] [WARNING] A script tried to use a custom script instance of type HKHModHelperNew.SaveCar that was not instantiated by ScriptHookVDotNet.
[13:11:31] [WARNING] A script tried to use a custom script instance of type HKHModHelperNew.SaveCar that was not instantiated by ScriptHookVDotNet.
[13:11:31] [INFO] Started script HKHModHelperNew.Class1.
[13:11:31] [DEBUG] Instantiating script HKHModHelperNew.Class1+WeaponComponentButton ...
[13:11:31] [INFO] Started script HKHModHelperNew.Class1+WeaponComponentButton.
[13:11:31] [DEBUG] Instantiating script HKHModHelperNew.Class1+WeaponModification ...
[13:11:31] [INFO] Started script HKHModHelperNew.Class1+WeaponModification.
[13:11:31] [DEBUG] Instantiating script HKHModHelperNew.FingerprintHack ...
[13:11:31] [INFO] Started script HKHModHelperNew.FingerprintHack.
[13:11:31] [DEBUG] Instantiating script HKHModHelperNew.SaveCar ...
[13:11:31] [INFO] Started script HKHModHelperNew.SaveCar.
[13:11:31] [DEBUG] Instantiating script HKHModHelperNew.SpecializationMenu ...
[13:11:31] [INFO] Started script HKHModHelperNew.SpecializationMenu.
[13:11:31] [DEBUG] Instantiating script HKHModHelperNew.VehiclesEmblem ...
[13:11:31] [INFO] Started script HKHModHelperNew.VehiclesEmblem.
[13:11:31] [DEBUG] Instantiating script iFruitAddon2.iFruitAddon2 ...
[13:11:31] [INFO] Started script iFruitAddon2.iFruitAddon2.
[13:11:31] [DEBUG] Instantiating script IllegalStreetRaces.BurnoutTimer ...
[13:11:31] [INFO] Started script IllegalStreetRaces.BurnoutTimer.
[13:11:31] [DEBUG] Instantiating script IllegalStreetRaces.Main ...
[13:11:31] [INFO] Started script IllegalStreetRaces.Main.
[13:11:31] [DEBUG] Instantiating script IllegalStreetRaces.Settings ...
[13:11:31] [INFO] Started script IllegalStreetRaces.Settings.
[13:11:31] [DEBUG] Instantiating script INMNativeUI.BigMessageThread ...
[13:11:31] [INFO] Started script INMNativeUI.BigMessageThread.
[13:11:31] [DEBUG] Instantiating script Lockpicking.Main ...
[13:11:32] [INFO] Started script Lockpicking.Main.
[13:11:32] [DEBUG] Instantiating script NativeUI.BigMessageThread ...
[13:11:32] [INFO] Started script NativeUI.BigMessageThread.
[13:11:32] [DEBUG] Instantiating script ParkedCarReplacement ...
[13:11:32] [INFO] Started script ParkedCarReplacement.
[13:11:32] [DEBUG] Instantiating script PullMeOver.PullMeOverMain ...
[13:11:32] [INFO] Started script PullMeOver.PullMeOverMain.
[13:11:32] [DEBUG] Instantiating script PullMeOver.SpeedDisplay ...
[13:11:32] [INFO] Started script PullMeOver.SpeedDisplay.
[13:11:32] [DEBUG] Instantiating script ReplacePlayerVehicle.Class1 ...
[13:11:32] [WARNING] A script tried to use a custom script instance of type HKHModHelperNew.SaveCar that was not instantiated by ScriptHookVDotNet.
[13:11:32] [WARNING] A script tried to use a custom script instance of type HKHModHelperNew.SaveCar that was not instantiated by ScriptHookVDotNet.
[13:11:32] [WARNING] A script tried to use a custom script instance of type HKHModHelperNew.SaveCar that was not instantiated by ScriptHookVDotNet.
@V3ry_H1GH there not errors their only warnings, just SHVDN being stupid
@HKH191 heres the error, duplicated the error. only started getting these errors once installing uber driver mod
[19:00:51] [ERROR] Caught fatal unhandled exception:
System.InvalidOperationException: Native.Function.Call can only be called from the main thread.
at GTA.Native.Function.ThrowInvalidOperationExceptionForInvalidNativeCall()
at GTA.Native.Function.ReturnValueFromNativeIfNotNull[T](UInt64* result)
at GTA.World.get_RenderingCamera()
at AmazingScreenshot.Freecam.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[19:00:51] [ERROR] The exception was thrown while executing the script AmazingScreenshot.Freecam.
[19:00:51] [WARNING] Aborted script AmazingScreenshot.Freecam.
[19:00:56] [ERROR] Script 'AmazingScreenshot.Freecam' is not responding! Aborting ...
[19:00:56] [WARNING] Aborted script AmazingScreenshot.Freecam.
[19:06:51] [ERROR] Caught fatal unhandled exception:
System.InvalidOperationException: Native.Function.Call can only be called from the main thread.
at GTA.Native.Function.ThrowInvalidOperationExceptionForInvalidNativeCall()
at GTA.Native.Function.ReturnValueFromNativeIfNotNull[T](UInt64* result)
at GTA.Native.Function.Call[T](Hash hash, InputArgument argument0)
at GTA.Entity.get_Model()
at ReplacePlayerVehicle.Class1.onTick(Object sender, EventArgs e) in D:\GRAND THEFT AUTO V\Source Code (BACKUP 10.2,22)\Active\ReplacePlayerVehicle\ReplacePlayerVehicle\Class1.cs:line 2099
at SHVDN.Script.MainLoop()
[19:06:51] [ERROR] The exception was thrown while executing the script ReplacePlayerVehicle.Class1.
[19:06:51] [WARNING] Aborted script ReplacePlayerVehicle.Class1.
[19:09:51] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at SHVDN.ScriptDomain.DoTick()
[19:09:51] [ERROR] The exception was thrown while executing the script HKHModHelperNew.SpecializationMenu.
[19:09:51] [WARNING] Aborted script HKHModHelperNew.SpecializationMenu.
@V3ry_H1GH can u please contact me on discord so i can see your script and root folder
@V3ry_H1GH either join my discord or send me a direct message
Why does it revert back to normal when i restart or destroy the vehicle??