{$CLEO .cs}
0000: NOP 

//-------------MAIN---------------
thread 'CombineGadget' 

:start0
wait 0 
if
   Actor.DrivingVehicleType($PLAYER_ACTOR, #COMBINE)
else_jump @start0 
0@ = Actor.CurrentCar($PLAYER_ACTOR)
0006: 1@ = 0
wait 100
02AC: set_car 0@ immunities BP 1 FP 1 EP 1 CP 1 MP 1

:start1
wait 0 
if
   Actor.DrivingVehicleType($PLAYER_ACTOR, #COMBINE)
jf @close
jump @start1

:close
02AC: set_car 0@ immunities BP 0 FP 0 EP 0 CP 0 MP 0
jump @start0

0A93: end_custom_thread