I asked chatgbt
Last read Never

I asked chatgbt and got this code, but it doesnt seem to work. Anyone knows how to fix it?
i asked him to fix it and now it worked,
hook.Add("Tick", "RemoveCarsInWater", function()
for _, car in ipairs(ents.FindByClass("prop_vehicle_jeep")) do
if car:GetPos().z < 0 and car:WaterLevel() > 0 then
car:Remove()
end
end
end)
And chatgpt 4 is right in the corner AI is the new revolution
Users viewing this thread
Nobody