Vehicle entity help

Hai, im making a little gamemode and i need to insert chairs by entity, heres my question,

How can i via lua set a entity class to inherit form a vehicle or something like that?

in advance thanks


I have searched the wiki and fp, couldnt find anything

Take a look at how various RP gamemodes does it; DarkRP forexample. The script can be found in gamemodes/darkrp/gamemode/entity.lua