I was looking through the GmodRacer gamemode looking for any kind of incite into spawning a jeep through some sort of command but I am unsure how they do this through a clientside file. Since they did do this how would i do it?
(This was in cl_networking)
GAMEMODE.GarageVehicle = ents.Create("prop_physics");
if !GAMEMODE.GarageVehicle or !GAMEMODE.GarageVehicle:IsValid() then return false; end
GAMEMODE.GarageVehicle:SetPos(GAMEMODE.GarageVehicleLocation - Vector(0, 0, 30));
GAMEMODE.GarageVehicle:SetAngles(Angle(0, (GAMEMODE.GarageViewLocation - GAMEMODE.GarageVehicleLocation):Angle().y - 50, 0));
GAMEMODE.GarageVehicle:SetModel("models/buggy.mdl");
GAMEMODE.GarageVehicle:SetOwner(LocalPlayer());
GAMEMODE.GarageVehicle:Spawn();