Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- weaponseats.SetupEntityClass{
- -- you can comment out class if you want to make
- -- it attach to all entities with the buggy model when they spawn
- class = "prop_vehicle_jeep",
- model = "models/buggy.mdl",
- -- this is where the on the model the seat will be oriented
- offset = Vector(91,24,4),
- angle = Angle(90,0,0),
- -- this is optional. if you have a vehicle where the seat is
- -- behind a door, you can use this to make it so you'll enter
- -- the seat by pressing use on the door
- use_offset = Vector(21,31,4),
- -- normally it will choose a seat that isn't occupied,
- -- but if there are lots of seat unoccupied and they all have
- -- the same enter point, it will use this priority (0 to 100)
- -- to choose the seat
- -- an example is that a turret can have 100% priority while
- -- a passenger seat can have 20%. it's up to you to decide
- priority = 70,
- --optional
- onenter = function() end,
- onleave = function() end,
- }
Advertisement
Add Comment
Please, Sign In to add comment