I am making a SWEP which spawns a vehicle which I have attempted to create. When spawning the vehicle directly from the menu it works fine however from the SWEP this error message appears:
vdisp_000 (2) at 0.012.070.3 in contact with models/military2/air/recognizer.mdl
(2) at 31.15.089.5, crash.dist = -1, minq = 99999999999999980000000000000000000000000000000000000
Just so you know the bit after ‘minq’ isnt entirely accuarte but there were many repeats of the digits i have put.
Any ideas on what this is or how to fix it. This is the code where the problem is as it all works fine until i put this bit into the lua.
if(SERVER)then local trace = self.Owner:GetEyeTrace() local vehicle = ents.Create("prop_vehicle_jeep") vehicle:SetKeyValue("vehiclescript","scripts/vehicles/HeliSeat.txt") vehicle:SetModel("models/military2/air/recognizer.mdl") vehicle:SetPos((trace.HitPos) + Vector (0, 70, 0) ) vehicle:Spawn() end end