// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
thread 'MGA_CarLock'
:MGA_CARLOCK_19
wait 0
if
key_down 71
else_jump @MGA_CARLOCK_19
:MGA_CARLOCK_38
wait 0
if
key_down 71
else_jump @MGA_CARLOCK_64
jump @MGA_CARLOCK_38
:MGA_CARLOCK_64
print "FREEZE" 2000
wait 0
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
if
Actor.Driving($PLAYER_ACTOR)
else_jump @MGA_CARLOCK_113
16@ = Actor.CurrentCar($PLAYER_ACTOR)
:MGA_CARLOCK_113
if
0AE3: 0@ = random_object_near_point 0.0 0.0 0.0 in_radius 6000.0 find_next 0 //IF and SET
else_jump @MGA_CARLOCK_199
:MGA_CARLOCK_151
Object.CollisionDetection(0@) = True
0750: set_object 0@ visibility 1
8AE3: not 0@ = random_object_near_point 0.0 0.0 0.0 in_radius 6000.0 find_next 1 //IF and SET
else_jump @MGA_CARLOCK_151
:MGA_CARLOCK_199
if
0AE2: 0@ = random_vehicle_near_point 0.0 0.0 0.0 in_radius 6000.0 find_next 0 pass_wrecked 1 //IF and SET
else_jump @MGA_CARLOCK_306
:MGA_CARLOCK_239
if or
803B: not 0@ == 16@ // (int)
not Actor.Driving($PLAYER_ACTOR)
else_jump @MGA_CARLOCK_270
099A: set_car 0@ collision_detection 0
:MGA_CARLOCK_270
8AE2: not 0@ = random_vehicle_near_point 0.0 0.0 0.0 in_radius 6000.0 find_next 1 pass_wrecked 1 //IF and SET
else_jump @MGA_CARLOCK_239
:MGA_CARLOCK_306
if
key_down 71
else_jump @MGA_CARLOCK_64
:MGA_CARLOCK_321
wait 0
if
key_down 71
else_jump @MGA_CARLOCK_347
jump @MGA_CARLOCK_321
:MGA_CARLOCK_347
wait 0
print "UN_FREEZE" 2000
if
0AE3: 0@ = random_object_near_point 0.0 0.0 0.0 in_radius 6000.0 find_next 0 //IF and SET
else_jump @MGA_CARLOCK_453
:MGA_CARLOCK_405
Object.CollisionDetection(0@) = True
0750: set_object 0@ visibility 1
8AE3: not 0@ = random_object_near_point 0.0 0.0 0.0 in_radius 6000.0 find_next 1 //IF and SET
else_jump @MGA_CARLOCK_405
:MGA_CARLOCK_453
if
0AE2: 0@ = random_vehicle_near_point 0.0 0.0 0.0 in_radius 6000.0 find_next 0 pass_wrecked 1 //IF and SET
else_jump @MGA_CARLOCK_536
:MGA_CARLOCK_493
099A: set_car 0@ collision_detection 1
8AE2: not 0@ = random_vehicle_near_point 0.0 0.0 0.0 in_radius 6000.0 find_next 1 pass_wrecked 1 //IF and SET
else_jump @MGA_CARLOCK_493
:MGA_CARLOCK_536
jump @MGA_CARLOCK_19