Hi, i don't know if i posted in the correct place or not, but i need help in creating my own car god mode. I tried infistar's cargodv3, but the problem is, whichever car i get into, it will be fully repaired. some of the players noticed this and asked me if i was using hacks. so i tried to code my own, part of it like this:

Code:
if (vehicle player == player) then
{
	_damage = 99;
}
else
{
	if (_damage != 99 && (damage (vehicle player)) != _damage) then
	{
		vehicle player setdammage _damage;
	}
	else
	{
		_damage = damage (vehicle player);
	};
};
i though this can solve the problem, but when i get into a car with the parts in different colors, and i tried to crash it into something, for example, the damage of the car was 0.5, when i crashed it, the damage stays the same, but it gets distributed, so each of the parts became the same color. ._. how can i get the damage for each of the parts of the vehicle that i am in? i have an idea to set the damage of each part using setHit, but there is no getHit function. also, how do i get a list (or array of parts) that the current vehicle i am in has? pardon me, i'm a noob starting to do scripts.