Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

[CLEO] edit


Natso
 Share

Recommended Posts

This is a scenario of CLEO airplane, I want it painted red squares any vehicle or other means within 1000m and not shoot, I have to edit how

 

// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013{$CLEO .cs} //-------------MAIN---------------thread "test"  :ATPS130_11wait 0 if and   Actor.DrivingVehicleType($PLAYER_ACTOR, #ANDROM)0ADC:   test_cheat "auto" else_jump @ATPS130_11 [email protected] = Actor.CurrentCar($PLAYER_ACTOR)[email protected] = 0 0ADF: add_dynamic_GXT_entry "AUTFIRE" text "Auto fire enabled" wait 500  :ATPS130_92wait 0 gosub @ATPS130_1417 gosub @ATPS130_183 if    Actor.Driving($PLAYER_ACTOR)else_jump @ATPS130_145 if 0ADC:   test_cheat "auto" else_jump @ATPS130_92  :ATPS130_145Car.RemoveReferences([email protected])Car.RemoveReferences([email protected])Object.Destroy([email protected])0AE0: remove_dynamic_GXT_entry "AUTFIRE" wait 500 jump @ATPS130_11  :ATPS130_1830A8D: [email protected] = read_memory 12010644 size 4 virtual_protect 0 [email protected] += 4 0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0 [email protected] = 0 0A8D: [email protected] = read_memory 12010644 size 4 virtual_protect 0 [email protected] += 4 0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0 [email protected] = 0  :ATPS130_2630A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0 [email protected] += 1 if and  [email protected] >= 0   128 > [email protected] else_jump @ATPS130_1385 005A: [email protected] += [email protected] // (int) if 803B:   not  [email protected] == [email protected] // (int) else_jump @ATPS130_1385  :ATPS130_335if    not Car.Wrecked([email protected])else_jump @ATPS130_1385 0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset -20.0 150.0 150.0 0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset -170.0 -50.0 -150.0 if 00B1:   car [email protected] sphere 0 in_cube_cornerA [email protected] [email protected] [email protected] cornerB [email protected] [email protected] [email protected] else_jump @ATPS130_1385 0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0 0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0 050A: [email protected] = distance_between_XYZ [email protected] [email protected] [email protected] and_XYZ [email protected] [email protected] [email protected] if   250.0 > [email protected] else_jump @ATPS130_1385 0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0 0AB1: call_scm_func @ATPS130_1463 3 [email protected] [email protected] [email protected] [email protected] [email protected]  03F0: enable_text_draw 1 0087: [email protected] = [email protected] // (float) [email protected] += 8.0 038E: draw_box_position [email protected] [email protected] size 1.0 16.0 RGBA 255 55 25 255 0087: [email protected] = [email protected] // (float) [email protected] -= 8.0 038E: draw_box_position [email protected] [email protected] size 1.0 16.0 RGBA 255 55 25 255 0087: [email protected] = [email protected] // (float) [email protected] += 8.0 038E: draw_box_position [email protected] [email protected] size 16.0 1.0 RGBA 255 55 25 255 0087: [email protected] = [email protected] // (float) [email protected] -= 8.0 038E: draw_box_position [email protected] [email protected] size 16.0 1.0 RGBA 255 55 25 255 if   [email protected] == 0 else_jump @ATPS130_985 Object.Destroy([email protected])Model.Load(1582)038B: load_requested_models  :ATPS130_819wait 0 if    Model.Available(1582)else_jump @ATPS130_819 0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset -4.101 0.458 -2.01 [email protected] = Object.Init(1582, [email protected], [email protected], [email protected])Object.CollisionDetection([email protected]) = True04D9: object [email protected] set_scripted_collision_check 1 0750: set_object [email protected] visibility 0 Model.Destroy(1582)0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0 0063: [email protected] -= [email protected] // (float) 0063: [email protected] -= [email protected] // (float) 0063: [email protected] -= [email protected] // (float) [email protected] = 0 [email protected] = 1 jump @ATPS130_1323  :ATPS130_9850400: store_coords_to [email protected] [email protected] [email protected] from_object [email protected] with_offset 0.0 0.0 0.0 095C: create_smoke_at [email protected] [email protected] [email protected] velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 0.5 size 0.5 last_factor 0.25 0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0 if 04E6:   object [email protected] near_point [email protected] [email protected] [email protected] radius 30.0 30.0 30.0 flag 0 else_jump @ATPS130_1148 jump @ATPS130_1164  :ATPS130_1148if 84DA:   not has_object [email protected] collided else_jump @ATPS130_1211  :ATPS130_1164if    not [email protected] > 5000 else_jump @ATPS130_1211 Object.ToggleInMovingList([email protected]) = TrueObject.Throw([email protected], [email protected], [email protected], [email protected])jump @ATPS130_1272  :ATPS130_12110400: store_coords_to [email protected] [email protected] [email protected] from_object [email protected] with_offset 0.0 0.0 0.0 020C: create_explosion_with_radius 10 at [email protected] [email protected] [email protected] Object.Destroy([email protected])[email protected] = 0 jump @ATPS130_1323  :ATPS130_12720407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset -2.4 9.361 -1.521 06BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 100  :ATPS130_1323gosub @ATPS130_1417 if   500 > [email protected] else_jump @ATPS130_1385 wait 0 if    Actor.Driving($PLAYER_ACTOR)0AA1: return_if_false if 0ADC:   test_cheat "auto" else_jump @ATPS130_335 return  :[email protected] = 0 [email protected] += 256   [email protected] > 27904 else_jump @ATPS130_263 return  :ATPS130_141703F0: enable_text_draw 1 060D: draw_text_shadow 0 rgba 0 0 0 0 0343: set_text_draw_linewidth 640.0 033E: set_draw_text_position 500.0 435.0 GXT "AUTFIRE" return  :[email protected] = 1 0A9F: [email protected] = current_thread_pointer 0AB1: call_scm_func @ATPS130_1628 2 [email protected] 0 [email protected]  0AB1: call_scm_func @ATPS130_1628 2 [email protected] 3 [email protected]  0AB1: call_scm_func @ATPS130_1628 2 [email protected] 6 [email protected]  0AB1: call_scm_func @ATPS130_1628 2 [email protected] 9 [email protected]  0AB1: call_scm_func @ATPS130_1628 2 [email protected] 12 [email protected]  0AA5: call 7392816 num_params 6 pop 6 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]  0AB1: call_scm_func @ATPS130_1736 2 [email protected] [email protected] [email protected] [email protected]  0AB2: ret 2 [email protected] [email protected]  :ATPS130_1628if    not [email protected] == 0 else_jump @ATPS130_1721 [email protected] *= 4 0A8E: [email protected] = [email protected] + 220 // int if   [email protected] == 1 else_jump @ATPS130_1699 [email protected] += 10783072 jump @ATPS130_1714  :ATPS130_1699005A: [email protected] += [email protected] // (int) [email protected] += 60  :ATPS130_1714jump @ATPS130_1728  :[email protected] = 0  :ATPS130_17280AB2: ret 1 [email protected]  :[email protected] = 640.0 0A8D: [email protected] = read_memory 12677188 size 4 virtual_protect 0 0093: [email protected] = integer [email protected] to_float 0073: [email protected] /= [email protected] // (float) 006B: [email protected] *= [email protected] // (float) [email protected] = 448.0 0A8D: [email protected] = read_memory 12677192 size 4 virtual_protect 0 0093: [email protected] = integer [email protected] to_float 0073: [email protected] /= [email protected] // (float) 006B: [email protected] *= [email protected] // (float) 0AB2: ret 2 [email protected] [email protected]
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.