I don't want to be rude, but did you tried to do what sofar explained ? You have your own car mod working with entities, so at least you already have an example of code that attach the player to an entity. I did not tried by myself, but from sofar comment, I just had a look in the minetest api , sea...