{$CLEO .cs}

0000: NOP 
wait 0 
Model.Load(#CHROMEGUN)
038B: load_requested_models 

:PICK_66
wait 0
Object.Destroy(1@)
Model.Available(#CHROMEGUN) 
if 
   00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 2490.781 -1705.4697 1018.3437 radius 10.0 10.0 10.0
jf @PICK_66 
Object.Create(1@, #CHROMEGUN, 2490.53 -1705.74 1017.8)
0453: set_object 1@ XYZ_rotation 30.0 90.0 -20.0

:PICK_76
wait 0 
if and
0471:   actor $PLAYER_ACTOR near_object_in_rectangle 1@ radius 2.0 2.0 sphere 0 
is_key_pressed 70 
jf @PICK_76 
wait 0 
Object.Destroy(1@)
01B2: give_actor $PLAYER_ACTOR weapon 25 ammo 5 // Load the weapon model before using this

:PICK_64
wait 0
if or
03D9:   save_done
80FE:   not actor $PLAYER_ACTOR sphere 0 in_sphere 2490.781 -1705.4697 1018.3437 radius 60.0 60.0 60.0
jf @PICK_64
 Object.Destroy(1@)
  wait 360000
jump @PICK_66
