Similar Script like "Spawn MP Vehicles in SP"
-
Hello
https://tr.gta5-mods.com/scripts/mp-vehicles-in-sp
This mod was great, it was simple; gets its job done without relying on trainers also without causing any in game bugs. Author of this mod seems to given up on GTA V. Is it possible to make a seperate script like this that keeps mp vehicles from despawning? (spawn using cheats is not even necessary)
Thanks
-
Just do this once at the start of the game in a shvdn script or something if you don't care about the cheats idk
var g = new GTA.Global(4266905);
g.SetInt(1);shvdn v3?:
GTA.Native.GlobalVariable g = new GTA.Native.GlobalVariable(4266905);
g.Set<Int32>(1);
-
@MAFINS said in Similar Script like "Spawn MP Vehicles in SP":
Just do this once at the start of the game in a shvdn script or something if you don't care about the cheats idk
GTA.Native.GlobalVariable g = new GTA.Native.GlobalVariable(4266905);
g.Set<Int32>(1);Working great, thanks!
-
@MAFINS Hi sir thanks for the code, I am beginner, when I try to compile the code I always get some compiling error which I couldn't solve by myself. Could you some help?
-
@MAFINS where do you get 4266905?
-
got it, in shop_controller
-
Lots of info about the despawn global: https://gtaforums.com/topic/922446-help-mp-vehicles-in-sp/?do=findComment&comment=1070593400
-
Using Enhanced Native Trainer works too, it has something similar built in. Online dlc vehicles don't vanish!