Then it says it everytime when I exit that vehicle. Cause health = bigger than 24
Wrong.
if(health < 24) means if the health is smaller than 24
but
if(health > 24) means if the health is bigger than 24
and
if(24 > health) means if 24 is bigger than health.