So, I’ve had this problem for some time and I’ve still not been able to fix it.
I created a file called ‘downloads.lua’ and I placed it into my lua/autorun/server folder. I did it both for the server, and the fastdownload link.
The file reads,
[lua]
resource.AddFile(“addons/VehicleUpgrade/lua/autorun/Nova_vehicles.lua”)
resource.AddFile(“addons/VehicleUpgrade/lua/autorun/vehicles_overide.lua”)
resource.AddFile(“addons/VehicleUpgrade/lua/autorun/VehicleScript.lua”)
resource.AddFile(“addons/VehicleUpgrade/lua/autorun/client/ClientVehicleScript.lua”)
resource.AddFile(“addons/VehicleUpgrade/lua/autorun/entities/vu_headlight/cl_init.lua”)
resource.AddFile(“addons/VehicleUpgrade/lua/autorun/entities/vu_headlight/init.lua”)
resource.AddFile(“addons/VehicleUpgrade/lua/autorun/entities/vu_headlight/shared.lua”)
resource.AddFile(“addons/VehicleUpgrade/lua/materials/VGUI/entities/airboat(VU).vmt”)
resource.AddFile(“addons/VehicleUpgrade/lua/materials/VGUI/entities/airboat(VU).vtf”)
resource.AddFile(“addons/VehicleUpgrade/lua/materials/VGUI/entities/airboat_seat.vmt”)
resource.AddFile(“addons/VehicleUpgrade/lua/materials/VGUI/entities/airboat_seat.vtf”)
resource.AddFile(“addons/VehicleUpgrade/lua/materials/VGUI/entities/jalopy(VU).vmt”)
resource.AddFile(“addons/VehicleUpgrade/lua/materials/VGUI/entities/jalopy(VU).vtf”)
resource.AddFile(“addons/VehicleUpgrade/lua/materials/VGUI/entities/jalopy_seat.vtf”)
resource.AddFile(“addons/VehicleUpgrade/lua/materials/VGUI/entities/jalopy_seat.vmt”)
resource.AddFile(“addons/VehicleUpgrade/lua/materials/VGUI/entities/Jeep(VU).vmt”)
resource.AddFile(“addons/VehicleUpgrade/lua/materials/VGUI/entities/Jeep(VU).vtf”)
[/lua]
Whenever a player joins, it doesn’t look like it downloads the files. The player can see the models(probably becasue VU mod is built with hl2 standard models) but cannot spawn them.
How can I fix it so they download and show up on the vehicle spawn menu. This is for normal sandbox btw.
Thanks.