Hello, I am currently attempting to use GTA Vehicles Pack:
https://steamcommunity.com/sharedfiles/filedetails/?id=540471399
which works fine except for players getting stuck in vehicles when attempting to exit a few of them. When viewing the code, I found something called CustomExits which I tried to edit so it moves the player to a different set of coordinates, but this has no effect.
I even tried deleting this and it had no effect on what happened when I exited the vehicle, so I looked in the vehicle script folder and found nothing related to where the player ends up after they leave the car.
local V = {
// Required information
Name = "GTA4 Sultan RS",
Class = "prop_vehicle_jeep",
Category = Category,
// Optional information
Author = "SgtSgt, Rockstar Games",
Information = "GTA4 SultanRS",
Model = "models/sickness/sultanrsdr.mdl",
SeatType = "jeep_seat",
//Vehicle Controller
VC_Lights = { //Pos can be a simple Vector() relative to the vehicle or an attachment name, else is self explanatory, can be an infinite amount of these.
[1] = {Pos = Vector(-27.4, -94.9, 41.1), Mat = "sprites/glow1.vmt", Alpha = "165", Size = 0.4, NormalColor = "0 0 0", BlinkersColor = "255 70 0"},
[2] = {Pos = Vector(27.4, -94.9, 41.1), Mat = "sprites/glow1.vmt", Alpha = "165", Size = 0.4, NormalColor = "0 0 0", BlinkersColor = "255 70 0"},
[3] = {Pos = Vector(-25.5, -94.9, 36.1), Mat = "sprites/glow1.vmt", Alpha = "165", Size = 0.65, NormalColor = "255 0 0", BrakeColor = "255 0 0"},
[4] = {Pos = Vector(25.5, -94.9, 36.1), Mat = "sprites/glow1.vmt", Alpha = "165", Size = 0.65, NormalColor = "255 0 0", BrakeColor = "255 0 0"},
[5] = {Pos = Vector(-24, -94.9, 38), Mat = "sprites/glow1.vmt", Alpha = "165", Size = 0.65, NormalColor = "0 0 0", ReverseColor = "255 255 255"},
[6] = {Pos = Vector(24, -94.9, 38), Mat = "sprites/glow1.vmt", Alpha = "165", Size = 0.65, NormalColor = "0 0 0", ReverseColor = "255 255 255"},
[7] = {Pos = Vector(-33,96,30), Mat = "sprites/glow1.vmt", Alpha = "180", Size = 0.7, NormalColor = "20 20 100", BlinkersColor = "255 80 0"},
[8] = {Pos = Vector(33,96,30), Mat = "sprites/glow1.vmt", Alpha = "180", Size = 0.7, NormalColor = "20 20 100", BlinkersColor = "255 80 0"},
},
VC_Exhaust = { //Exhaust effect, only active when engine is on, can be infinite amount.
[1] = {Pos = Vector(-38, 24.6, 11.4), Ang = Angle(-40,0,0), EffectIdle = "Exhaust", EffectStress = "Exhaust"}, //Pos and Ang are relative to the vehicle, Pos - a simple vector or an attachment name, effect has to be a looping particle effect.
},
//VuMod
HeadLights = {
Light1 = {Pos = Vector(-25,-96.1,30), Ang = Angle(0,10,80)},
Light2 = {Pos = Vector(25,-96.1,30), Ang = Angle(0,-10,80)}
},
Horn = {Sound = "vu_horn_double.wav", Pitch = 90},
Customexits = { Vector(-90,100,22), Vector(82,36,22), Vector(22,24,90) ,Vector(2,100,30) },
ModView = { FirstPerson = Vector(4,0,2) },
KeyValues = {
vehiclescript = "scripts/vehicles/sultanrs.txt"
}
}
Above is the code for a single car, one in particular that leaves the player stuck inside of it, like I said editing the coordinates of CustomExit has no effect on what happens so I'm at a loss here.
Sorry, you need to Log In to post a reply to this thread.