disable custom trailer functionality.

the simfphys trailer addon was deleted by the author and i dont feel like supporting the new simfphys trailer addon.
This commit is contained in:
edshot99 2024-01-25 14:57:03 -06:00
parent d1d5309810
commit ce0c4ab653
2 changed files with 28 additions and 0 deletions

View File

@ -1194,6 +1194,7 @@ local V = {
Gears = {-0.1,0,0.09,0.16,0.26,0.38,0.5}, Gears = {-0.1,0,0.09,0.16,0.26,0.38,0.5},
//For trailers //For trailers
OnSpawn = function(ent) OnSpawn = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:SetActive(true) -- makes avtive ent:SetActive(true) -- makes avtive
ent:SetSimfIsTrailer(false) ent:SetSimfIsTrailer(false)
@ -1202,6 +1203,7 @@ local V = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end end
} }
} }
@ -1569,6 +1571,7 @@ local V = {
Gears = {-0.1,0,0.09,0.16,0.26,0.38,0.5}, Gears = {-0.1,0,0.09,0.16,0.26,0.38,0.5},
//For trailers //For trailers
OnSpawn = function(ent) OnSpawn = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:SetActive(true) -- makes avtive ent:SetActive(true) -- makes avtive
ent:SetSimfIsTrailer(false) ent:SetSimfIsTrailer(false)
@ -1577,6 +1580,7 @@ local V = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end end
} }
} }
@ -1716,6 +1720,7 @@ local V = {
Gears = {-0.1,0,0.09,0.16,0.26,0.38,0.5}, Gears = {-0.1,0,0.09,0.16,0.26,0.38,0.5},
//For trailers //For trailers
OnSpawn = function(ent) OnSpawn = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:SetActive(true) -- makes avtive ent:SetActive(true) -- makes avtive
ent:SetSimfIsTrailer(false) ent:SetSimfIsTrailer(false)
@ -1724,6 +1729,7 @@ local V = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end end
} }
} }
@ -1848,6 +1854,7 @@ local V = {
Gears = {-0.1,0,0.09,0.16,0.26,0.38}, Gears = {-0.1,0,0.09,0.16,0.26,0.38},
//For trailers //For trailers
OnSpawn = function(ent) OnSpawn = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:SetActive(true) -- makes avtive ent:SetActive(true) -- makes avtive
ent:SetSimfIsTrailer(false) ent:SetSimfIsTrailer(false)
@ -1856,6 +1863,7 @@ local V = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end end
} }
} }

View File

@ -42,6 +42,7 @@ local TRAILER = {
Mass = 6666, Mass = 6666,
OnSpawn = function(ent) OnSpawn = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:SetActive( true ) ent:SetActive( true )
ent:SetSimfIsTrailer(true) ent:SetSimfIsTrailer(true)
@ -50,8 +51,10 @@ local TRAILER = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end, end,
OnTick = function(ent) OnTick = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:Lock() -- locks trailer ent:Lock() -- locks trailer
if not ent:GetIsBraking() then if not ent:GetIsBraking() then
@ -67,6 +70,7 @@ local TRAILER = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end, end,
LightsTable = "gta_sa_artict1", LightsTable = "gta_sa_artict1",
@ -172,6 +176,7 @@ local TRAILER = {
Mass = 6666, Mass = 6666,
OnSpawn = function(ent) OnSpawn = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:SetActive( true ) ent:SetActive( true )
ent:SetSimfIsTrailer(true) ent:SetSimfIsTrailer(true)
@ -180,8 +185,10 @@ local TRAILER = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end, end,
OnTick = function(ent) OnTick = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:Lock() -- locks trailer ent:Lock() -- locks trailer
if not ent:GetIsBraking() then if not ent:GetIsBraking() then
@ -197,6 +204,7 @@ local TRAILER = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end, end,
LightsTable = "gta_sa_artict1", LightsTable = "gta_sa_artict1",
@ -302,6 +310,7 @@ local TRAILER = {
Mass = 2300, Mass = 2300,
OnSpawn = function(ent) OnSpawn = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:SetActive( true ) ent:SetActive( true )
ent:SetSimfIsTrailer(true) ent:SetSimfIsTrailer(true)
@ -310,8 +319,10 @@ local TRAILER = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end, end,
OnTick = function(ent) OnTick = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:Lock() -- locks trailer ent:Lock() -- locks trailer
if not ent:GetIsBraking() then if not ent:GetIsBraking() then
@ -327,6 +338,7 @@ local TRAILER = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end, end,
LightsTable = "gta_sa_artict1", LightsTable = "gta_sa_artict1",
@ -432,6 +444,7 @@ local TRAILER = {
Mass = 6666, Mass = 6666,
OnSpawn = function(ent) OnSpawn = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:SetActive( true ) ent:SetActive( true )
ent:SetSimfIsTrailer(true) ent:SetSimfIsTrailer(true)
@ -440,8 +453,10 @@ local TRAILER = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end, end,
OnTick = function(ent) OnTick = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:Lock() -- locks trailer ent:Lock() -- locks trailer
if not ent:GetIsBraking() then if not ent:GetIsBraking() then
@ -457,6 +472,7 @@ local TRAILER = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end, end,
LightsTable = "gta_sa_artict1", LightsTable = "gta_sa_artict1",
@ -593,6 +609,7 @@ local TRAILER = {
Mass = 8000, Mass = 8000,
OnSpawn = function(ent) OnSpawn = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:SetActive( true ) ent:SetActive( true )
ent:SetSimfIsTrailer(true) ent:SetSimfIsTrailer(true)
@ -601,8 +618,10 @@ local TRAILER = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end, end,
OnTick = function(ent) OnTick = function(ent)
--[[
if ent:SimfIsTrailer() != nil then if ent:SimfIsTrailer() != nil then
ent:Lock() -- locks trailer ent:Lock() -- locks trailer
if not ent:GetIsBraking() then if not ent:GetIsBraking() then
@ -618,6 +637,7 @@ local TRAILER = {
else else
print("INSTALL TRAILERS BASE FIRST") print("INSTALL TRAILERS BASE FIRST")
end end
]]--
end, end,
LightsTable = "gta_sa_petrotr", LightsTable = "gta_sa_petrotr",