Hi guys, this god mode code I use i'd thought that it would work for your cars too. So your car would never get damaged because of this: the part where it saids vehicle player. I don't know if it's possible but I think anything really possible so, please let me know. Thanks.
(vehicle player) setDamage 0;
player setDamage 0;
if (isnil ("gdmode1on")) then
{
gdmode1on = 0;
};
if (gdmode1on==0) then
{
(vehicle player) addEventHandler ["handleDamage", { false }];
gdmode1on=1;
hint "God Mode On";
}
else
{
(vehicle player) addEventHandler ["handleDamage", { true }];
(vehicle player) removeAllEventHandlers "handleDamage";
gdmode1on=0;
hint "God Mode Off";
};