I was sure that there was a script out there that did this but I can't find it. I'm going to put it up as an idea here instead.
Here's the deal.
I want a script that will let me get into an enemy vehicle and become a captive (setcaptive true), I want to be able to drive the vehicle about and have radio chatter audible from inside.
If I get out of the vehicle obviously the chat would stop and I'd no longer be captive. Also, If possible, I'd like it so that if I got within a certain distance of an enemy player I'd no longer be captive. As if he'd seen that I was a bad guy. Another thing that would switch me from setcaptive true to false would be if I fired a gun from the vehicle, like machinegun.
Possible?