can sum1 tell me how 2 make a tank wit 2 functions?

eg. func_tankcontrols combined with func_vehiclecontrols so dat wen pressing 'E' in the driver seat u can both drive the tank and rotate the turret. :