Instant Car


Upon placing a car, automatically puts player in it with fuel. Upon player exiting car, despawns car and puts it back in player inventory, along with any stuff in the car.

Content
5 years ago
0.17
12
Transportation

b Crash on train exit solution

4 years ago

Ok so I've never modded anythin, but adding this lines "
if x.entity.name ~= "car" then
return true
end
"
To a control.lua in instant_car.zip after 63 line seems to be working, It should look like this ..."

function on_exit_car(x)
if x.entity.name ~= "car" then
return true
end
if x.entity.get_driver() == nil and x.entity.get_passenger() == nil and x.entity.name == "car" then"...

New response