natalias code was just copied from an earlier version of my
vehiclemod. if you remove a vehicle entity while a players is inside it will crash the server as players are parented to the vehicle and become a part of its hierarchy, so when you remove the vehicle entity you're removing the client entity which is a big no.