Spawning a Jeep with a custom gamemode

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));

You normally shouldn’t be able to create vehicles clientside and indeed this seems to describe a clientside model and not a working vehicle.

Oh and since I like to be helpful here’s the code you need to spawn a jeep, it has to be serverside.
[lua]local ent = ents.Create(“prop_vehicle_jeep_old”)

This is the barebone implementation so you’ll have to tweak it to fit your needs.

Thanks you