{$CLEO .cs}

thread 'VIGILAab'
0000: NOP 

:NOS_1
wait 0
if and
   Actor.DrivingVehicleType($PLAYER_ACTOR, #VIGILA)
00E1:   player 0 pressed_key 4 // Secondary fire.
jf @NOS_1

03C0: 0@ = actor $PLAYER_ACTOR car
00AD: set_car 0@ max_speed_to 300.0
066C: 9@ = attach_particle "NITRO" to_car 0@ with_offset 0.0 -2.80 0.90 rotation 0.0 90.0 0.0 type 1 
064C: make_particle 9@ visible  
jump @NOS_4

//---------------------

:NOS_2
wait 0
if
00E1:   player 0 pressed_key 4 // Secondary fire.
jf @NOS_21
jump @NOS_4

:NOS_21
wait 0
if 
   Actor.DrivingVehicleType($PLAYER_ACTOR, #VIGILA)
jf @NOS_99
jump @NOS_2

//---------------------

:NOS_3
wait 0
if
00E1:   player 0 pressed_key 4 // Secondary fire.
jf @NOS_9

:NOS_4
09E9: car 0@ add_single_nitro 
wait 50
02e3: 1@ = car 0@ speed
1@ += 18.0
04BA: set_car 0@ speed_to 1@
wait 200

if 
   Actor.DrivingVehicleType($PLAYER_ACTOR, #VIGILA)
jf @NOS_99
jump @NOS_3

//---------------------

:NOS_9
0650: destroy_particle 9@
00AD: set_car 0@ max_speed_to 100.0
wait 1000
jump @NOS_2

:NOS_99
0650: destroy_particle 9@
00AD: set_car 0@ max_speed_to 100.0
jump @NOS_1

0A93: end_custom_thread