Passenger seats for Cider

Hey guys
my friend showed me this code
[LUA]
GM.Vehicle_OnSpawnFunctions[VEHICLE_HUMMER] = function ( Player, Entity )
GAMEMODE.CreatePassengerSeat(Entity, Vector(20, -14, 25), Angle(0, 0 ,0))
GAMEMODE.CreatePassengerSeat(Entity, Vector(20, 20, 23), Angle(0, 0 ,0))
GAMEMODE.CreatePassengerSeat(Entity, Vector(-20, 20, 23), Angle(0, 0 ,0))

GAMEMODE.AddVehicleExit(Entity, Vector(-78.4888, 31.0606, 1.5582));
GAMEMODE.AddVehicleExit(Entity, Vector(-78.7425, -20.2776, 1.6878));
GAMEMODE.AddVehicleExit(Entity, Vector(79.3276, -24.8024, 1.5374));
GAMEMODE.AddVehicleExit(Entity, Vector(80.5768, 34.7472, 1.3860));

end
[/LUA]
is there anyway i can add that into cider?
thx brad

[editline]10:05AM[/editline]

also
[LUA]
function GM.CreatePassengerSeat ( Entity, Vect, Angles )
local SeatDatabase = list.Get(“Vehicles”)[“Seat_Jeep”];
local OurPos = Entity:GetPos();
local OurAng = Entity:GetAngles();
local SeatPos = OurPos + (OurAng:Forward() * Vect.x) + (OurAng:Right() * Vect.y) + (OurAng:Up() * Vect.z);[/LUA]

Get VU-Mod.

l2 read.
i need to add it into a gamemode.
with a ent spawn car
like ents.Create(“prop_vehicle_jeep”)

I see you’re still ineffectively trying to copy my server.
Would it help you if I told you that I use VU-Mod?

yes a example would be good.
ok i looked at another addon and found out how they add passengers.
----------PROBLEM-------
how do i add that into cider?

I dunno. How does the addon do it?

it adds it into the vehicles tab…
Like
[LUA]
local Category = “-[ICR] Cars”

local V = {
// Required information
Name = “mustang”,
Class = “prop_vehicle_jeep”,
Category = Category,

			// Optional information
			Author = "EvilMr.Lee",
			Information = "A 1968 Ford Mustang Fastback GT with an extra seat.",
			Model = "models/mustang.mdl",

– Passengers = { passenger1 = { Pos = Vector(21,12,15), Ang = Angle(0,0,0) } },
SeatType = “jeep_seat”,
HideSeats = true,
HeadLights = {
Light1 = {Pos = Vector(-34,-94,34), Ang = Angle(0,10,90)},
Light2 = {Pos = Vector(34,-94,34), Ang = Angle(0,-10,90)},
Light3 = {Pos = Vector(-34,-94,34), Ang = Angle(0,10,90)},
Light4 = {Pos = Vector(34,-94,34), Ang = Angle(0,-10,90)},
Light5 = {Pos = Vector(-20,-98,35.5), Ang = Angle(0,10,90)},
Light6 = {Pos = Vector(20,-98,35.5), Ang = Angle(0,-10,90)}
},
Horn = {Sound = “vu_horn_simple.wav”, Pitch = 90},
Customexits = { Vector(-90,36,22), Vector(82,36,22), Vector(22,24,90) ,Vector(2,100,30) },
ModView = { ThirdPerson = {Out = 200 , Up = 0} },

			KeyValues = {
							vehiclescript	=	"scripts/vehicles/mustang_test.txt"
						}
		}

list.Set( “Vehicles”, “Ford Mustang”, V )

[/LUA]

That’s using VU-Mod.

So in my item i add
[LUA]
Passengers = { passenger1 = { Pos = Vector(21,12,15), Ang = Angle(0,0,0) } },
SeatType = “jeep_seat”,
HideSeats = true,
HeadLights = {
Light1 = {Pos = Vector(-34,-94,34), Ang = Angle(0,10,90)},
Light2 = {Pos = Vector(34,-94,34), Ang = Angle(0,-10,90)},
Light3 = {Pos = Vector(-34,-94,34), Ang = Angle(0,10,90)},
Light4 = {Pos = Vector(34,-94,34), Ang = Angle(0,-10,90)},
Light5 = {Pos = Vector(-20,-98,35.5), Ang = Angle(0,10,90)},
Light6 = {Pos = Vector(20,-98,35.5), Ang = Angle(0,-10,90)}
},
Horn = {Sound = “vu_horn_simple.wav”, Pitch = 90},
Customexits = { Vector(-90,36,22), Vector(82,36,22), Vector(22,24,90) ,Vector(2,100,30) },
ModView = { ThirdPerson = {Out = 200 , Up = 0} },
[/LUA]
i dont no how 2 add it into cider if thats not the way

You could do that, but then you’d need to make the vehicle spawn code pay attention to it. A-La VU-Mod.

No clue how to do that?