Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add( "Think", "VehicleBroken", function()
- for k,ply in ipairs(player.GetAll()) do
- if(ply:GetVehicle() != nil) then
- local car = ply:GetVehicle()\
- if(car:GetVelocity():Length() > 1) and (car.VC_Health <= 0) then
- car.VC_EngineOff = true
- KNotify(ply, "The vehicle is broken, fuck you.")
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement