Ulx

How would i go about making people force download content like a car for darkrp is there a way with ulx.

It’s nothing to do with ulx.

Oh some told me ulx would have a force download file i have a Shelby_resource.lua but it aint making people download the models and materials


--AutoDL Shelby

--snds
resource.AddFile( "sound/vehicles/Shelby/First.wav" );
resource.AddFile( "sound/vehicles/Shelby/Fourth_cruise_loop2.wav" );
resource.AddFile( "sound/vehicles/Shelby/Second" );
resource.AddFile( "sound/vehicles/Shelby/shebly_firstgear_rev_loop1.wav" );
resource.AddFile( "sound/vehicles/Shelby/shelby_idle_loop1.wav" );
resource.AddFile( "sound/vehicles/Shelby/shelby_rev_short_loop1.wav" );
resource.AddFile( "sound/vehicles/Shelby/shelby_start_loop1.wav" );
resource.AddFile( "sound/vehicles/Shelby/shelby_stop1.wav" );
resource.AddFile( "sound/vehicles/Shelby/shelby_throttle_off_fast_loop1.wav" );
resource.AddFile( "sound/vehicles/Shelby/shelby/shelby_throttle_off_slow_loop2.wav" );
resource.AddFile( "sound/vehicles/Shelby/shelby/shelby_turbo_on_loop1.wav" );
resource.AddFile( "sound/vehicles/Shelby/shelby/Thrid.wav" );
resource.AddFile( "sound/beepbeep1.wav" );
resource.AddFile( "sound/dixie Horn.wav" );
resource.AddFile( "sound/vu_horn_double.wav" );
resource.AddFile( "sound/vu_horn_old.wav" );
resource.AddFile( "sound/vu_horn_quick.wav" );
resource.AddFile( "sound/vu_horn_simple.wav" );

--icon
resource.AddFile( "materials/vgui/entities/airboat(VU).vmt" );
resource.AddFile( "materials/vgui/entities/airboat(VU).vtf" );
resource.AddFile( "materials/vgui/entities/airboat_seat.vmt" );
resource.AddFile( "materials/vgui/entities/airboat_seat.vtf" );
resource.AddFile( "materials/vgui/entities/jalopy(VU).vmt" );
resource.AddFile( "materials/vgui/entities/jalopy(VU).vtf" );
resource.AddFile( "materials/vgui/entities/jalopy_seat.vmt" );
resource.AddFile( "materials/vgui/entities/jalopy_seat.vtf" );
resource.AddFile( "materials/vgui/entities/Jeep(VU).vmt" );
resource.AddFile( "materials/vgui/entities/Jeep(VU).vtf" );
resource.AddFile( "materials/vgui/entities/jeep_seat.vmt" );
resource.AddFile( "materials/vgui/entities/jeep_seat.vtf" );
resource.AddFile( "materials/vgui/entities/office_chair_big.vmt" );
resource.AddFile( "materials/vgui/entities/office_chair_big.vtf" );
resource.AddFile( "materials/vgui/entities/office_chair_small.vmt" );
resource.AddFile( "materials/vgui/entities/office_chair_small.vtf" );
resource.AddFile( "materials/vgui/entities/plastic_chair.vmt" );
resource.AddFile( "materials/vgui/entities/plastic_chair.vtf" );
resource.AddFile( "materials/vgui/entities/Shelby.vmt" );
resource.AddFile( "materials/vgui/entities/Shelby.vtf" );
resource.AddFile( "materials/vgui/entities/Shelby_tame.vmt" );
resource.AddFile( "materials/vgui/entities/wood_chair.vmt" );
resource.AddFile( "materials/vgui/entities/wood_chair.vtf" );

--model
resource.AddFile( "models/shelby/shelby.dx80.vtx" );
resource.AddFile( "models/shelby/shelby.dx90.vtx" );
resource.AddFile( "models/shelby/shelby.mdl" );
resource.AddFile( "models/shelby/shelby.phy" );
resource.AddFile( "models/shelby/shelby.sw.vtx" );
resource.AddFile( "models/shelby/shelby.vvd" );
resource.AddFile( "models/shelby_bonnet_gib.dx80.vtx" );
resource.AddFile( "models/shelby/shelby_bonnet_gib.dx90.vtx" );
resource.AddFile( "models/shelby/shelby_bonnet_gib.mdl" );
resource.AddFile( "models/shelby/shelby_bonnet_gib.phy" );
resource.AddFile( "models/shelby/shelby_bonnet_gib.sw.vtx" );
resource.AddFile( "models/shelby/shelby_bonnet_gib.vvd" );
resource.AddFile( "models/shelby/shelby_boot_gib.dx80.vtx" );
resource.AddFile( "models/shelby/shelby_boot_gib.dx90.vtx" );
resource.AddFile( "models/shelby/shelby_boot_gib.mdl" );
resource.AddFile( "models/shelby/shelby_boot_gib.phy" );
resource.AddFile( "models/shelby/shelby_boot_gib.sw.vtx" );
resource.AddFile( "models/shelby/shelby_boot_gib.vvd" );
resource.AddFile( "models/shelby/shelby_ldoor_gib.dx80.vtx" );
resource.AddFile( "models/shelby/shelby_ldoor_gib.dx90.vtx" );
resource.AddFile( "models/shelby/shelby_ldoor_gib.mdl" );
resource.AddFile( "models/shelby/shelby_ldoor_gib.phy" );
resource.AddFile( "models/shelby/shelby_ldoor_gib.sw.vtx" );
resource.AddFile( "models/shelby/shelby_ldoor_gib.vvd" );
resource.AddFile( "models/shelby/shelby_rdoor_gib.dx80.vtx" );
resource.AddFile( "models/shelby/shelby_rdoor_gib.dx90.vtx" );
resource.AddFile( "models/shelby/shelby_rdoor_gib.mdl" );
resource.AddFile( "models/shelby/shelby_rdoor_gib.phy" );
resource.AddFile( "models/shelby/shelby_rdoor_gib.sw.vtx" );
resource.AddFile( "models/shelby/shelby_rdoor_gib.vvd" );
resource.AddFile( "models/shelby/shelby_shell.dx80.vtx" );
resource.AddFile( "models/shelby/shelby_shell.dx90.vtx" );
resource.AddFile( "models/shelby/shelby_shell.mdl" );
resource.AddFile( "models/shelby/shelby_shell.phy" );
resource.AddFile( "models/shelby/shelby_shell.sw.vtx" );
resource.AddFile( "models/shelby/shelby_shell.vvd" );
resource.AddFile( "models/shelby/shelby_wheel.dx80.vtx" );
resource.AddFile( "models/shelby/shelby_wheel.dx90.vtx" );
resource.AddFile( "models/shelby/shelby_wheel.mdl" );
resource.AddFile( "models/shelby/shelby_wheel.phy" );
resource.AddFile( "models/shelby/shelby_wheel.sw.vtx" );
resource.AddFile( "models/shelby/shelby_wheel.vvd" );

--materials

resource.AddFile( "materials/models/shelby/base1.vmt" );
resource.AddFile( "materials/models/shelby/base1.vtf" );
resource.AddFile( "materials/models/shelby/base2.vmt" );
resource.AddFile( "materials/models/shelby/base2.vtf" );
resource.AddFile( "materials/models/shelby/base3.vmt" );
resource.AddFile( "materials/models/shelby/base3.vtf" );
resource.AddFile( "materials/models/shelby/black.vmt" );
resource.AddFile( "materials/models/shelby/black.vtf" );
resource.AddFile( "materials/models/shelby/body1.vmt" );
resource.AddFile( "materials/models/shelby/body1.vtf" );
resource.AddFile( "materials/models/shelby/body2.vmt" );
resource.AddFile( "materials/models/shelby/body2.vtf" );
resource.AddFile( "materials/models/shelby/body3.vmt" );
resource.AddFile( "materials/models/shelby/body3.vtf" );
resource.AddFile( "materials/models/shelby/body4.vmt" );
resource.AddFile( "materials/models/shelby/body4.vtf" );
resource.AddFile( "materials/models/shelby/body5.vmt" );
resource.AddFile( "materials/models/shelby/body5.vtf" );
resource.AddFile( "materials/models/shelby/body6.vmt" );
resource.AddFile( "materials/models/shelby/body6.vtf" );
resource.AddFile( "materials/models/shelby/body7.vmt" );
resource.AddFile( "materials/models/shelby/body7.vtf" );
resource.AddFile( "materials/models/shelby/body8.vmt" );
resource.AddFile( "materials/models/shelby/body8.vtf" );
resource.AddFile( "materials/models/shelby/body9.vmt" );
resource.AddFile( "materials/models/shelby/body9.vtf" );
resource.AddFile( "materials/models/shelby/chrome.vmt" );
resource.AddFile( "materials/models/shelby/chrome.vtf" );
resource.AddFile( "materials/models/shelby/glass.vmt" );
resource.AddFile( "materials/models/shelby/glass.vtf" );
resource.AddFile( "materials/models/shelby/stripes.vmt" );
resource.AddFile( "materials/models/shelby/stripes.vtf" );