Hey everyone! First, I would like to say thanks for reading, and answering my previous questions on this forum. Now, I want to ask if the Lua Coders of FP could help me with a small script. Can someone please make a small script that allows vehicles to no collide with one another so they go right through. It’s a small script, and I hope someone can answer quickly. Thanks in advance!
Here you go, put it into a lua file in lua/autorun/server/
for k, v in pairs( ents.GetAll() ) do
if v:IsVehicle() and not v.NoVehicleCollision then
v:SetCollisionGroup( COLLISION_GROUP_INTERACTIVE )
v.NoVehicleCollision = true
hook.Add( “Think”, “NoVehicleCollision”, NoVehicleCollision )