Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
Jasenko

Car spawn script

Recommended Posts

640509-040147

 

@640509-040147  those are gtasbigfoot's scripts, right, lol? lol.gif

Did I ever say they were not? Indeed they are. The links to those posts are also in my post, you see? I was too lazy to quote them. lol.gif

 

Besides, what the eff are you laughin' out loud for? rolleyes.gifhappy.gif

Edited by 640509-040147

Share this post


Link to post
Share on other sites
james227uk

Another method I was taught by gtasbigfoot:

 

{$CLEO .cs}thread 'WARTSPAWN' :WARTSPAWN_19wait 0 if   Player.Defined($PLAYER_CHAR)jf @WARTSPAWN_19 if 00E1:   player 0 pressed_key 19 jf @WARTSPAWN_19 0AA5: call 0x43A0B6 num_params 1 pop 1 #infernuswait 2000 jump @WARTSPAWN_19

 

 

It spawns an infernus when you press the middle mouse button

Share this post


Link to post
Share on other sites
Jasenko

{$CLEO .cs}:kuruma03A4: name_thread 'kuruma':start0001: wait 0 ms0A8D: [email protected] = read_memory 0x00969110 size 4 virtual_protect 0  00D6: if 1                  04A4:   [email protected] == 0x //4B5552554D41=kuruma  004D: jump_if_false @start:start_00247:  request_model #PRIMO038B: load_requested_models:check0001: wait 0 ms00D6: if and0248:   model #PRIMO available004D: jump_if_false @check03E5: text_box 'CHEAT1'  // The Cheat Activation04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 12.8 0.000A5: [email protected] = create_car #PRIMO at [email protected] [email protected] [email protected]: set_car [email protected] health_to 400008A4: set_car [email protected] extra_parts_angle_to 1.00249: release_model #PRIMO0A8C: write_memory 0x00969110 size 4 value 0 virtual_protect 00002: jump @start

 

 

Is this one going to work? It should spawn "primo" (replaced by GTA3 Kuruma) in front of player...

Share this post


Link to post
Share on other sites
coin-god

 

{$CLEO .cs}:kuruma03A4: name_thread 'kuruma':start0001: wait 0 ms0A8D: [email protected] = read_memory 0x00969110 size 4 virtual_protect 0 //read RUMA //Notice 4Letters = 4Bytes, Size 40A8D: [email protected] = read_memory 0x00969114 size 2 virtual_protect 0 //read KU //Notice 2Letters = 2Bytes, Size 200D6: if 104A4:   [email protected] == 0x52554D41 //checks if [email protected] = RUMA04A4:   [email protected] == 0x4B55  //checks if [email protected] = KU004D: jump_if_false @start:start_00247:  request_model #PRIMO038B: load_requested_models:check0001: wait 0 ms00D6: if and0248:   model #PRIMO available004D: jump_if_false @check03E5: text_box 'CHEAT1'  // The Cheat Activation04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 12.8 0.000A5: [email protected] = create_car #PRIMO at [email protected] [email protected] [email protected]: set_car [email protected] health_to 400008A4: set_car [email protected] extra_parts_angle_to 1.00249: release_model #PRIMO0A8C: write_memory 0x00969110 size 4 value 0 virtual_protect 0 //clear the buffer0A8C: write_memory 0x00969114 size 2 value 0 virtual_protect 0 //clear the buffer0002: jump @start

 

 

Share this post


Link to post
Share on other sites
gtasbigfoot

You know I did write a whole tut and in it I spoke about a alot of ways of doing cheats, in the English language.

I do my cheats mainly this way, in my brain it's the best way to do them:

 

 

// ----------------------------------------------------------------------//         Cheats in Game Run - Time// ---------------------------------------------------------------------- //----------------------Way 1----------------------//// EXAMPLE 1 (10 LETTERS):Cheat_010001: wait 0 ms0006: [email protected] = -0x38212     008B: [email protected] = &0([email protected],1i) // (int) 0085: [email protected] = [email protected] // (int) 0016: [email protected] /= 0x10000 0012: [email protected] *= 0x10000 0062: [email protected] -= [email protected] // (int)    00D6: if 0039:   [email protected] == 0x5354  004D: jump_if_false @Cheat_010006: [email protected] = -0x38213 00D6: if              0038:   &0([email protected],1i) == 0x41525343   004D: jump_if_false @Cheat_010006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x4F4C4F52   004D: jump_if_false @Cheat_010004: &0([email protected],1i) = 0x4F4C4F00 03E5: show_text_box 'CHEAT1' // Cheat activated// EXAMPLE 1 (6 LETTERS):Cheat_010001: wait 0 ms 0006: [email protected] = -0x38213 008B: [email protected] = &0([email protected],1i) // (int) 0085: [email protected] = [email protected] // (int) 0016: [email protected] /= 0x10000 0012: [email protected] *= 0x10000 0062: [email protected] -= [email protected] // (int) 00D6: if 0039:   [email protected] == 0x5555 004D: jump_if_false @Cheat_010006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x555555004D: jump_if_false @Cheat_010004: &0([email protected],1i) = 0x5555550003E5: show_text_box 'CHEAT1'  // Cheat activated// EXAMPLE 1 (4 LETTERS):Cheat_010001: wait 0 ms 0006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x55555555004D: jump_if_false @Cheat_010004: &0([email protected],1i) = 0x5555550003E5: show_text_box 'CHEAT1'  // Cheat activated// EXAMPLE 1 (12 LETTERS):Cheat_010001: wait 0 ms 0006: [email protected] = -0x38212 00D6: if 0038:   &0([email protected],1i) == 0x55555555004D: jump_if_false @Cheat_010006: [email protected] = -0x38213 00D6: if 0038:   &0([email protected],1i) == 0x55555555004D: jump_if_false @Cheat_010006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x55555555004D: jump_if_false @Cheat_010004: &0([email protected],1i) = 0x5555550003E5: show_text_box 'CHEAT1'  // Cheat activated//----------------------Way 2----------------------//// EXAMPLE 1: 0001: wait 0 [email protected] = -0xE085while trueif  &0([email protected],1v) == "333332" // Test if last pressed "233333"then  03E5: text_box 'CHEAT1'    // Cheat activated  Breakendwait 1000 end0a93: end_custom_thread//-------------------------------------------////-------------------------------------------////----------------------Way 3----------------------//// EXAMPLE 1: 4 LETTER CHEAT USING CLEO OPCODES:CLCH0A8D: [email protected] = read_memory 0x969110 size 4 virtual_protect 1 00D6: if 04A4:   [email protected] == 0x55555555 // @ == any 004D: jump_if_false @CLCH0A8C: write_memory 0x969110 size 4 value 0 virtual_protect 1 03E5: show_text_box 'CHEAT1'  // Cheat activated//-------------------Notes-------------------//1: The end part replace the last digit number with 00  Like this:  0004: &0([email protected],1i) = 0x55555500  // So not 55 it's replaced with 002: When doing a cheat the ways are different if the cheat is bigger or smaller.

 

 

Well actually this part is from my personal document. But still it should help.

 

 

Here are a list of the number codes you need. First set of line is Oct, then Dec, the hexadecimal, then in glyph (which is what they mean in normal language).

 

 

Oct    Dec  Hex  Glyph100  64  40  @101  65  41  A102  66  42  B103  67  43  C104  68  44  D105  69  45  E106  70  46  F107  71  47  G110  72  48  H111  73  49  I112  74  4A  J113  75  4B  K114  76  4C  L115  77  4D  M116  78  4E  N117  79  4F  O120  80  50  P121  81  51  Q122  82  52  R123  83  53  S124  84  54  T125  85  55  U126  86  56  V127  87  57  W130  88  58  X131  89  59  Y132  90  5A  Z133  91  5B  [134  92  5C  \135  93  5D  ]136  94  5E  ^137  95  5F  _

 

 

So for example you want to spawn an Primo when you typed 'kuruma':

 

Example script:

 

 

{$VERSION 3.1.0027}{$CLEO .cs}03A4: name_thread 'kuruma':Cheat_010001: wait 0 ms 0006: [email protected] = -0x38213 008B: [email protected] = &0([email protected],1i) // (int) 0085: [email protected] = [email protected] // (int) 0016: [email protected] /= 0x10000 0012: [email protected] *= 0x10000 0062: [email protected] -= [email protected] // (int) 00D6: if 0039:   [email protected] == 0x4B55 // ku 004D: jump_if_false @Cheat_010006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x52554D41 // ruma  004D: jump_if_false @Cheat_010004: &0([email protected],1i) = 0x52554D0003E5: show_text_box 'CHEAT1'  // Cheat activated0247: load_model  0x223038B: load_requested_modelswhile true00D6: if 0248:   model 0x223 availablethen   Break end0001: wait 0 msend04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 12.0 0.000A5: [email protected] = create_car 0x223 at [email protected] [email protected] [email protected]: set_car [email protected] health_to 0xFA00249: release_model 0x22301C3: remove_references_to_car [email protected] // Like turning a car into any random car 0002: jump @Cheat_01

 

 

In you're script you posted you're cheat is 6 letters long. That is too long. For just one line.

If you wanna use the way using CLEO opcodes 0ABD: and 0A8C: you do not just fill one line up with any number of letters you want.

 

If it's hexadecimal which is confusing you I written something about it a while-back. But it's in German language only.

It's a is a numeral system with a radix, or base, of 16. (0x10)

 

 

Look at this example:

 

        0x245

    ____________________

x4.5

        2614.5

    ____________________

 

Would be the same as:

   

        581

    ____________________

x4.5

        2614.5

    ____________________

 

 

 

Look at this message: 

 

48 65 6C 6C 6F 2E 41 6E 64 68 65 72 65 77 65 67

6F 21

 

 

What I said was:

 

"Hello. And here we go!"

 

 

Note: Spaces can not be read by hexa so put '_' as a space between each word. Which in hexa would be: 5F

so with spaces it will look like this:

 

48 65 6C 6C 6F 2E 5F 41 6E 64 5F 68 65 72 65 5F

77 65 5F 67 6F 21

 

 

 

If you do not understand the small script I just written use coin-god's script above^:

He is showing you what I just said above.

 

In you're script you posted @Jasenko yoo still have this:

 

 

08A4: set_car [email protected] extra_parts_angle_to 1.0

 

 

From the Andromada spawn I written in the past topic. This is not needed. This was to open the Andromada cargo hold.

 

I'm going to stop here as I have an issue of posting long posts all the time.

Share this post


Link to post
Share on other sites
Jasenko

{$CLEO .cs}:spawn03A4: name_thread 'spawn':start0001: wait 0 ms0A8D: [email protected] = read_memory 0x00969110 size 4 virtual_protect 0  00D6: if 1                  04A4:   [email protected] == 0x //47544133=gta3  004D: jump_if_false @start:start_00247:  request_model #PRIMO038B: load_requested_models:check0001: wait 0 ms00D6: if and0248:   model #PRIMO available004D: jump_if_false @check03E5: text_box 'CHEAT1'  // The Cheat Activation04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 12.8 0.000A5: [email protected] = create_car #PRIMO at [email protected] [email protected] [email protected]: set_car [email protected] health_to 40000249: release_model #PRIMO0A8C: write_memory 0x00969110 size 4 value 0 virtual_protect 00002: jump @start

 

 

I've changed "kuruma" with "gta3", and renamed thread into "spawn". Is it OK?

BTW, how many letters can I use at once? (5 letter word for example)

 

EDIT

I've tried this one, but it doesn't work...

{$CLEO .cs}thread 'WARTSPAWN':WARTSPAWN_19wait 0if Player.Defined($PLAYER_CHAR)jf @WARTSPAWN_19if00E1:   player 0 pressed_key 19jf @WARTSPAWN_190AA5: call 0x43A0B6 num_params 1 pop 1 #infernuswait 2000jump @WARTSPAWN_19

 

Edited by Jasenko

Share this post


Link to post
Share on other sites
Jasenko
I'm really, really sorry to bump my own topic (again), but I STILL need some help...

Share this post


Link to post
Share on other sites
gtasbigfoot

 

{$VERSION 3.1.0027}{$CLEO .cs}0000::Script_00001: wait 0 ms0A8D: [email protected] = read_memory 0x969110 size 4 virtual_protect 0  00D6: if                   04A4:   [email protected] == 0x47544133004D: jump_if_flase @Script_003E5: text_box 'CHEAT1' // Cheat activated0247: load_model 0x223038B: load_requested_modelswhile 8248: not  model 0x223 available0001: wait 0 msend04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 12.8 0.000A5: [email protected] = create_car 0x223 at [email protected] [email protected] [email protected]: set_car [email protected] health_to 0xFA00249: release_model 0x22301C3: remove_references_to_car [email protected] // Like turning a car into any random car 0A8C: write_memory 0x969110 size 4 value 0 virtual_protect 00001: wait 2000 ms0002: jump @Script_0

 

 

Would you explain what you're having trouble with?

James script in which he posted should work.

 

Some more examples on the way I explained couple of days ago(this one is from my HUD color hacker mod): *.fxt file is also needed.

 

 

{$CLEO .cs}:Color_003A4: name_thread 'Colors' :Noname_1             //  (this one is health color)  Cheat = Changehbar0001: wait 0 ms 0006: [email protected] = -0x38212 008B: [email protected] = &0([email protected],1i) // (int) 0085: [email protected] = [email protected] // (int) 0016: [email protected] /= 0x10000 0012: [email protected] *= 0x10000 0062: [email protected] -= [email protected] // (int)    00D6: if 0039:   [email protected] == 0x4348 004D: jump_if_false @Noname_20006: [email protected] = -0x38213 00D6: if              0038:   &0([email protected],1i) == 0x414E4745    004D: jump_if_false @Noname_20006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x48424152  004D: jump_if_false @Noname_20004: &0([email protected],1i) = 0x484241000006: [email protected] = 10002: jump @Noname_6:Noname_2             // (this one is armour color)   Cheat = Armourbarc0006: [email protected] = -0x38212 008B: [email protected] = &0([email protected],1i) // (int) 0085: [email protected] = [email protected] // (int) 0016: [email protected] /= 0x10000 0012: [email protected] *= 0x10000 0062: [email protected] -= [email protected] // (int)    00D6: if 0039:   [email protected] == 0x4152       004D: jump_if_false @Noname_30006: [email protected] = -0x38213 00D6: if              0038:   &0([email protected],1i) == 0x4D4F5552004D: jump_if_false @Noname_30006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x42415243    004D: jump_if_false @Noname_30004: &0([email protected],1i) = 0x424152000006: [email protected] = 20002: jump @Noname_6:Noname_3                //  (this one is money color)  = MoneyColor0006: [email protected] = -0x38212 008B: [email protected] = &0([email protected],1i) // (int) 0085: [email protected] = [email protected] // (int) 0016: [email protected] /= 0x10000 0012: [email protected] *= 0x10000 0062: [email protected] -= [email protected] // (int)    00D6: if 0039:   [email protected] == 0x4D4F 004D: jump_if_false @Noname_40006: [email protected] = -0x38213 00D6: if              0038:   &0([email protected],1i) == 0x4E455943      004D: jump_if_false @Noname_40006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x4F4C4F52 004D: jump_if_false @Noname_40004: &0([email protected],1i) = 0x4F4C4F000006: [email protected] = 30002: jump @Noname_6:Noname_40006: [email protected] = -0x38212      //  (this one is stars color) = Starscolor008B: [email protected] = &0([email protected],1i) // (int) 0085: [email protected] = [email protected] // (int) 0016: [email protected] /= 0x10000 0012: [email protected] *= 0x10000 0062: [email protected] -= [email protected] // (int)    00D6: if 0039:   [email protected] == 0x5354  004D: jump_if_false @Noname_50006: [email protected] = -0x38213 00D6: if              0038:   &0([email protected],1i) == 0x41525343   004D: jump_if_false @Noname_50006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x4F4C4F52   004D: jump_if_false @Noname_50004: &0([email protected],1i) = 0x4F4C4F00	0006: [email protected] = 40002: jump @Noname_6:Noname_50006: [email protected] = -0x38212         // (this one is Zone text/Bars color) = ZoneBarscc008B: [email protected] = &0([email protected],1i) // (int) 0085: [email protected] = [email protected] // (int) 0016: [email protected] /= 0x10000 0012: [email protected] *= 0x10000 0062: [email protected] -= [email protected] // (int)    00D6: if 0039:   [email protected] == 0x5A4F 004D: jump_if_false @Noname_70006: [email protected] = -0x38213 00D6: if              0038:   &0([email protected],1i) == 0x4E454241      004D: jump_if_false @Noname_70006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x52534343   004D: jump_if_false @Noname_70004: &0([email protected],1i) = 0x525343000006: [email protected] = 50002: jump @Noname_6:Noname_70002: jump @Noname_1:Noname_603E5: show_text_box 'CHEAT1' // Cheat activated0343: set_text_draw_linewidth 680.0033E: set_draw_text_position 36.0 20.0 GXT 'TATTA'  01B4: set_player $PLAYER_CHAR can_move 0 03BF: set_player $PLAYER_CHAR ignored_by_everyone 10826: enable_hud 0:Noname_80001: wait 0 ms00D6: if 8039: not  [email protected] == 1004D: jump_if_false @T_0100D6: if 8039: not  [email protected] == 2004D: jump_if_false @T_0200D6: if 8039: not  [email protected] == 3004D: jump_if_false @T_0300D6: if 8039: not  [email protected] == 4004D: jump_if_false @T_0400D6: if 0039:   [email protected] == 5004D: jump_if_false @Noname_80002: jump @T_05//............................Health:T_010006: [email protected] = 0xBAB22C 0006: [email protected] = 0xBAB22D 0006: [email protected] = 0xBAB22E0002: jump @Got_Address1//............................//............................Armour/Clock/WB Text:T_020006: [email protected] = 0xBAB23C 0006: [email protected] = 0xBAB23D 0006: [email protected] = 0xBAB23E0002: jump @Got_Address2//............................//............................Money/Car enter text:T_030006: [email protected] = 0xBAB230 0006: [email protected] = 0xBAB231 0006: [email protected] = 0xBAB232 0002: jump @Got_Address3//............................ //............................Wanted Level Stars:T_040006: [email protected] = 0xBAB244 0006: [email protected] = 0xBAB245 0006: [email protected] = 0xBAB2460002: jump @Got_Address4 //............................//............................Zone text/Bars:T_050006: [email protected] = 0xBAB238 0006: [email protected] = 0xBAB239 0006: [email protected] = 0xBAB23A 0002: jump @Got_Address5//............................:Got_Address108D4: [email protected] = create_panel_with_title 'TITLE' position 340.0 120.0 width 240.0 columns 1 interactive 1 background 1 alignment 008DB: set_panel [email protected]  column 0 header 'TITLE' data 'Blue' 'Purple' 'Green' 'Yellow' 'Orange' 'Reddd' 'Pink1' 'Aqua' 'Gold' 'Black' 'Weye' 'Silver'  090E: set_panel [email protected]  active_row 0:KEYS10001: wait  0 ms00D6: if0256:   player $PLAYER_CHAR defined004D: jump_if_false @Remove_Panel00D6: if  00E1:   player 0 pressed_key 15004D: jump_if_false @Chnage10002: jump @Remove_Panel:Chnage10001: wait  0 ms00D6: if  00E1:   player 0 pressed_key 16004D: jump_if_false @KEYS108D7: [email protected] = panel [email protected] active_row0008: [email protected] +=  1                        :Blue_Color       00D6: if  0039:   [email protected] ==  1  004D: jump_if_false @Purple_Color0006: [email protected] = 0  0006: [email protected] = 0  0006: [email protected] = 255  0050: gosub @COLOR_10750002: jump @Remove_Panel  :Purple_Color00D6: if  0039:   [email protected] ==  2  004D: jump_if_false @Green_Color0006: [email protected] = 128   0006: [email protected] = 0  0006: [email protected] = 128  0050: gosub @COLOR_10750002: jump @Remove_Panel   :Green_Color00D6: if  0039:   [email protected] ==  3  004D: jump_if_false @Yellow_Color0006: [email protected] = 0  0006: [email protected] = 128 0006: [email protected] = 00050: gosub @COLOR_1075 0002: jump @Remove_Panel  :Yellow_Color00D6: if  0039:   [email protected] ==  4  004D: jump_if_false @Orange_Color0006: [email protected] = 255  0006: [email protected] = 255  0006: [email protected] = 0 0050: gosub @COLOR_10750002: jump @Remove_Panel  :Orange_Color00D6: if  0039:   [email protected] == 5  004D: jump_if_false @Red_Color0006: [email protected] = 255 0006: [email protected] = 1280006: [email protected] = 0 0050: gosub @COLOR_10750002: jump @Remove_Panel                                          :Red_Color00D6: if  0039:   [email protected] == 6  004D: jump_if_false @Light_Pink0006: [email protected] = 255 0006: [email protected] = 0             // Default color for health bar0006: [email protected] = 00050: gosub @COLOR_10750002: jump @Remove_Panel  :Light_Pink00D6: if  0039:   [email protected] == 7  004D: jump_if_false @Aqua0006: [email protected] = 2550006: [email protected] = 128 0006: [email protected] = 2550050: gosub @COLOR_1075 0002: jump @Remove_Panel   :Aqua00D6: if  0039:   [email protected] == 8  004D: jump_if_false @Gold0006: [email protected] = 120 0006: [email protected] = 255 0006: [email protected] = 200 0050: gosub @COLOR_10750002: jump @Remove_Panel  :Gold00D6: if  0039:   [email protected] == 9  004D: jump_if_false @Black0006: [email protected] = 1500006: [email protected] = 1280006: [email protected] = 00050: gosub @COLOR_10750002: jump @Remove_Panel  :Black00D6: if  0039:   [email protected] == 10  004D: jump_if_false @Cyan_process0006: [email protected] = 00006: [email protected] = 00006: [email protected] = 200050: gosub @COLOR_10750002: jump @Remove_Panel  :Cyan_process 00D6: if  0039:   [email protected] == 11 004D: jump_if_false @Silver0006: [email protected] = 120 0006: [email protected] = 200 0006: [email protected] = 2550050: gosub @COLOR_10750002: jump @Remove_Panel   :Silver00D6: if  0039:   [email protected] == 12 004D: jump_if_false @Remove_Panel0006: [email protected] = 180 0006: [email protected] = 2000006: [email protected] = 2400050: gosub @COLOR_1075 0002: jump @Remove_Panel//............................Health Bar Menu End............................//:Got_Address208D4: [email protected] = create_panel_with_title 'TITLE' position 340.0 120.0 width 240.0 columns 1 interactive 1 background 1 alignment 008DB: set_panel [email protected]  column 0 header 'TITLE' data 'Blue' 'Purple' 'Green' 'Yellow' 'Orange' 'Red1' 'Pink1' 'Aqua' 'Gold' 'Black' 'Weye' 'Whited'  090E: set_panel [email protected]  active_row 0:KEYS20001: wait  0 ms00D6: if0256:   player $PLAYER_CHAR defined004D: jump_if_false @Remove_Panel00D6: if  00E1:   player 0 pressed_key 15004D: jump_if_false @Chnage20002: jump @Remove_Panel:Chnage20001: wait  0 ms00D6: if  00E1:   player 0 pressed_key 16004D: jump_if_false @KEYS208D7: [email protected] = panel [email protected] active_row0008: [email protected] +=  1 :Blue_Color200D6: if  0039:   [email protected] ==  1  004D: jump_if_false @Purple_Color20006: [email protected] = 0  0006: [email protected] = 0  0006: [email protected] = 255  0050: gosub @COLOR_10750002: jump @Remove_Panel  :Purple_Color200D6: if  0039:   [email protected] ==  2  004D: jump_if_false @Green_Color20006: [email protected] = 128   0006: [email protected] = 0  0006: [email protected] = 128  0050: gosub @COLOR_10750002: jump @Remove_Panel   :Green_Color200D6: if  0039:   [email protected] ==  3  004D: jump_if_false @Yellow_Color20006: [email protected] = 0  0006: [email protected] = 128 0006: [email protected] = 00050: gosub @COLOR_1075 0002: jump @Remove_Panel  :Yellow_Color200D6: if  0039:   [email protected] ==  4  004D: jump_if_false @Orange_Color20006: [email protected] = 255  0006: [email protected] = 255  0006: [email protected] = 0 0050: gosub @COLOR_10750002: jump @Remove_Panel  :Orange_Color200D6: if  0039:   [email protected] == 5  004D: jump_if_false @Red_Color20006: [email protected] = 255 0006: [email protected] = 1280006: [email protected] = 0 0050: gosub @COLOR_10750002: jump @Remove_Panel                                          :Red_Color200D6: if  0039:   [email protected] == 6  004D: jump_if_false @Light_Pink20006: [email protected] = 255 0006: [email protected] = 0 0006: [email protected] = 00050: gosub @COLOR_10750002: jump @Remove_Panel  :Light_Pink200D6: if  0039:   [email protected] == 7  004D: jump_if_false @Aqua20006: [email protected] = 2550006: [email protected] = 128 0006: [email protected] = 2550050: gosub @COLOR_1075 0002: jump @Remove_Panel   :Aqua2            00D6: if  0039:   [email protected] == 8  004D: jump_if_false @Gold20006: [email protected] = 120 0006: [email protected] = 255 0006: [email protected] = 200 0050: gosub @COLOR_10750002: jump @Remove_Panel  :Gold200D6: if  0039:   [email protected] == 9  004D: jump_if_false @Black20006: [email protected] = 1500006: [email protected] = 1280006: [email protected] = 00050: gosub @COLOR_10750002: jump @Remove_Panel  :Black200D6: if  0039:   [email protected] == 10  004D: jump_if_false @Cyan_process20006: [email protected] = 00006: [email protected] = 00006: [email protected] = 200050: gosub @COLOR_10750002: jump @Remove_Panel  :Cyan_process2 00D6: if  0039:   [email protected] == 11 004D: jump_if_false @White20006: [email protected] = 120 0006: [email protected] = 200 0006: [email protected] = 2550050: gosub @COLOR_10750002: jump @Remove_Panel   :White200D6: if  0039:   [email protected] == 12 004D: jump_if_false @Remove_Panel0006: [email protected] = 255 0006: [email protected] = 255              // Default color for Armour bar0006: [email protected] = 2550050: gosub @COLOR_1075 0002: jump @Remove_Panel//............................Armour Bar Menu End............................// :Got_Address308D4: [email protected] = create_panel_with_title 'TITLE' position 340.0 120.0 width 240.0 columns 1 interactive 1 background 1 alignment 008DB: set_panel [email protected]  column 0 header 'TITLE' data 'Blue' 'Purple' 'GreenD' 'Yellow' 'Orange' 'Red1' 'Pink1' 'Aqua' 'Gold' 'Black' 'Weye' 'Silver'  090E: set_panel [email protected]  active_row 0:KEYS30001: wait  0 ms00D6: if0256:   player $PLAYER_CHAR defined004D: jump_if_false @Remove_Panel00D6: if  00E1:   player 0 pressed_key 15004D: jump_if_false @Chnage30002: jump @Remove_Panel:Chnage30001: wait  0 ms00D6: if  00E1:   player 0 pressed_key 16004D: jump_if_false @KEYS208D7: [email protected] = panel [email protected] active_row0008: [email protected] +=  1 :Blue_Color300D6: if  0039:   [email protected] ==  1  004D: jump_if_false @Purple_Color30006: [email protected] = 0  0006: [email protected] = 0  0006: [email protected] = 255  0050: gosub @COLOR_10750002: jump @Remove_Panel  :Purple_Color300D6: if  0039:   [email protected] ==  2  004D: jump_if_false @Green_Color30006: [email protected] = 128   0006: [email protected] = 0  0006: [email protected] = 128  0050: gosub @COLOR_10750002: jump @Remove_Panel   :Green_Color300D6: if  0039:   [email protected] ==  3  004D: jump_if_false @Yellow_Color30006: [email protected] = 0  0006: [email protected] = 128             // Default money color0006: [email protected] = 00050: gosub @COLOR_1075 0002: jump @Remove_Panel  :Yellow_Color300D6: if  0039:   [email protected] ==  4  004D: jump_if_false @Orange_Color30006: [email protected] = 255  0006: [email protected] = 255  0006: [email protected] = 0 0050: gosub @COLOR_10750002: jump @Remove_Panel  :Orange_Color300D6: if  0039:   [email protected] == 5  004D: jump_if_false @Red_Color30006: [email protected] = 255 0006: [email protected] = 1280006: [email protected] = 0 0050: gosub @COLOR_10750002: jump @Remove_Panel                                          :Red_Color300D6: if  0039:   [email protected] == 6  004D: jump_if_false @Light_Pink30006: [email protected] = 255 0006: [email protected] = 0 0006: [email protected] = 00050: gosub @COLOR_10750002: jump @Remove_Panel  :Light_Pink300D6: if  0039:   [email protected] == 7  004D: jump_if_false @Aqua30006: [email protected] = 2550006: [email protected] = 128 0006: [email protected] = 2550050: gosub @COLOR_1075 0002: jump @Remove_Panel   :Aqua300D6: if  0039:   [email protected] == 8  004D: jump_if_false @Gold30006: [email protected] = 120 0006: [email protected] = 255 0006: [email protected] = 200 0050: gosub @COLOR_10750002: jump @Remove_Panel  :Gold300D6: if  0039:   [email protected] == 9  004D: jump_if_false @Black30006: [email protected] = 1500006: [email protected] = 1280006: [email protected] = 00050: gosub @COLOR_10750002: jump @Remove_Panel  :Black300D6: if  0039:   [email protected] == 10  004D: jump_if_false @Cyan_process30006: [email protected] = 00006: [email protected] = 00006: [email protected] = 200050: gosub @COLOR_10750002: jump @Remove_Panel  :Cyan_process3 00D6: if  0039:   [email protected] == 11 004D: jump_if_false @Sliver30006: [email protected] = 120 0006: [email protected] = 200 0006: [email protected] = 2550050: gosub @COLOR_10750002: jump @Remove_Panel   :Sliver300D6: if  0039:   [email protected] == 12 004D: jump_if_false @Remove_Panel0006: [email protected] = 180 0006: [email protected] = 2000006: [email protected] = 2400050: gosub @COLOR_1075 0002: jump @Remove_Panel//............................Money Bar Menu End............................//  :Got_Address408D4: [email protected] = create_panel_with_title 'TITLE' position 340.0 120.0 width 240.0 columns 1 interactive 1 background 1 alignment 008DB: set_panel [email protected]  column 0 header 'TITLE' data 'Blue' 'Purple' 'Green' 'Yellow' 'Orange' 'Red1' 'Pink1' 'Aqua' 'GoldD' 'Black' 'Weye' 'Silver'  090E: set_panel [email protected]  active_row 0:KEYS40001: wait  0 ms00D6: if0256:   player $PLAYER_CHAR defined004D: jump_if_false @Remove_Panel00D6: if  00E1:   player 0 pressed_key 15004D: jump_if_false @Chnage40002: jump @Remove_Panel:Chnage40001: wait  0 ms00D6: if  00E1:   player 0 pressed_key 16004D: jump_if_false @KEYS408D7: [email protected] = panel [email protected] active_row0008: [email protected] +=  1 :Blue_Color400D6: if  0039:   [email protected] ==  1  004D: jump_if_false @Purple_Color40006: [email protected] = 0  0006: [email protected] = 0  0006: [email protected] = 255  0050: gosub @COLOR_10750002: jump @Remove_Panel  :Purple_Color400D6: if  0039:   [email protected] ==  2  004D: jump_if_false @Green_Color40006: [email protected] = 128   0006: [email protected] = 0  0006: [email protected] = 128  0050: gosub @COLOR_10750002: jump @Remove_Panel   :Green_Color400D6: if  0039:   [email protected] ==  3  004D: jump_if_false @Yellow_Color40006: [email protected] = 0  0006: [email protected] = 128 0006: [email protected] = 00050: gosub @COLOR_1075 0002: jump @Remove_Panel  :Yellow_Color400D6: if  0039:   [email protected] ==  4  004D: jump_if_false @Orange_Color40006: [email protected] = 255  0006: [email protected] = 255  0006: [email protected] = 0 0050: gosub @COLOR_10750002: jump @Remove_Panel  :Orange_Color400D6: if  0039:   [email protected] == 5  004D: jump_if_false @Red_Color40006: [email protected] = 255 0006: [email protected] = 1280006: [email protected] = 0 0050: gosub @COLOR_10750002: jump @Remove_Panel                                          :Red_Color400D6: if  0039:   [email protected] == 6  004D: jump_if_false @Light_Pink40006: [email protected] = 255 0006: [email protected] = 0 0006: [email protected] = 00050: gosub @COLOR_10750002: jump @Remove_Panel  :Light_Pink400D6: if  0039:   [email protected] == 7  004D: jump_if_false @Aqua40006: [email protected] = 2550006: [email protected] = 128 0006: [email protected] = 2550050: gosub @COLOR_1075 0002: jump @Remove_Panel   :Aqua400D6: if  0039:   [email protected] == 8  004D: jump_if_false @Gold40006: [email protected] = 120 0006: [email protected] = 255 0006: [email protected] = 200 0050: gosub @COLOR_10750002: jump @Remove_Panel  :Gold400D6: if  0039:   [email protected] == 9  004D: jump_if_false @Black40006: [email protected] = 1440006: [email protected] = 98 0006: [email protected] = 160050: gosub @COLOR_10750002: jump @Remove_Panel  :Black400D6: if  0039:   [email protected] == 10  004D: jump_if_false @Cyan_process40006: [email protected] = 00006: [email protected] = 00006: [email protected] = 200050: gosub @COLOR_10750002: jump @Remove_Panel  :Cyan_process4 00D6: if  0039:   [email protected] == 11 004D: jump_if_false @Sliver40006: [email protected] = 120 0006: [email protected] = 200 0006: [email protected] = 2550050: gosub @COLOR_10750002: jump @Remove_Panel   :Sliver400D6: if  0039:   [email protected] == 12 004D: jump_if_false @Remove_Panel0006: [email protected] = 180 0006: [email protected] = 2000006: [email protected] = 2400050: gosub @COLOR_1075 0002: jump @Remove_Panel//............................Stars End............................//  :Got_Address508D4: [email protected] = create_panel_with_title 'TITLE' position 340.0 120.0 width 240.0 columns 1 interactive 1 background 1 alignment 008DB: set_panel [email protected]  column 0 header 'TITLE' data 'Blue' 'Purple' 'Green' 'Yellow' 'Orange' 'Red1' 'Pink1' 'Aqua' 'Gold' 'Black' 'Weye' 'CreamD'  090E: set_panel [email protected]  active_row 0:KEYS50001: wait  0 ms00D6: if0256:   player $PLAYER_CHAR defined004D: jump_if_false @Remove_Panel00D6: if  00E1:   player 0 pressed_key 15004D: jump_if_false @Chnage50002: jump @Remove_Panel:Chnage50001: wait  0 ms00D6: if  00E1:   player 0 pressed_key 16004D: jump_if_false @KEYS508D7: [email protected] = panel [email protected] active_row0008: [email protected] +=  1 :Blue_Color500D6: if  0039:   [email protected] ==  1  004D: jump_if_false @Purple_Color50006: [email protected] = 0  0006: [email protected] = 0  0006: [email protected] = 255  0050: gosub @COLOR_10750002: jump @Remove_Panel  :Purple_Color500D6: if  0039:   [email protected] ==  2  004D: jump_if_false @Green_Color50006: [email protected] = 128   0006: [email protected] = 0  0006: [email protected] = 128  0050: gosub @COLOR_10750002: jump @Remove_Panel   :Green_Color500D6: if  0039:   [email protected] ==  3  004D: jump_if_false @Yellow_Color50006: [email protected] = 0  0006: [email protected] = 128 0006: [email protected] = 00050: gosub @COLOR_1075 0002: jump @Remove_Panel  :Yellow_Color500D6: if  0039:   [email protected] ==  4  004D: jump_if_false @Orange_Color50006: [email protected] = 255  0006: [email protected] = 255  0006: [email protected] = 0 0050: gosub @COLOR_10750002: jump @Remove_Panel  :Orange_Color500D6: if  0039:   [email protected] == 5  004D: jump_if_false @Red_Color50006: [email protected] = 255 0006: [email protected] = 1280006: [email protected] = 0 0050: gosub @COLOR_10750002: jump @Remove_Panel                                          :Red_Color500D6: if  0039:   [email protected] == 6  004D: jump_if_false @Light_Pink50006: [email protected] = 255 0006: [email protected] = 0           0006: [email protected] = 00050: gosub @COLOR_10750002: jump @Remove_Panel  :Light_Pink500D6: if  0039:   [email protected] == 7  004D: jump_if_false @Aqua50006: [email protected] = 2550006: [email protected] = 128 0006: [email protected] = 2550050: gosub @COLOR_1075 0002: jump @Remove_Panel   :Aqua500D6: if  0039:   [email protected] == 8  004D: jump_if_false @Gold50006: [email protected] = 120 0006: [email protected] = 255 0006: [email protected] = 200 0050: gosub @COLOR_10750002: jump @Remove_Panel  :Gold500D6: if  0039:   [email protected] == 9  004D: jump_if_false @Black50006: [email protected] = 1500006: [email protected] = 1280006: [email protected] = 00050: gosub @COLOR_10750002: jump @Remove_Panel  :Black500D6: if  0039:   [email protected] == 10  004D: jump_if_false @Cyan_process50006: [email protected] = 00006: [email protected] = 00006: [email protected] = 200050: gosub @COLOR_10750002: jump @Remove_Panel  :Cyan_process5 00D6: if  0039:   [email protected] == 11 004D: jump_if_false @Cream50006: [email protected] = 120 0006: [email protected] = 200 0006: [email protected] = 2550050: gosub @COLOR_10750002: jump @Remove_Panel   :Cream500D6: if  0039:   [email protected] == 12 004D: jump_if_false @Remove_Panel0006: [email protected] = 172 0006: [email protected] = 203             // Default color for Set Zone Text and others0006: [email protected] = 241 0050: gosub @COLOR_1075 //0002: jump @Remove_Panel//............................Set Zone Text and others End............................//  :Remove_Panel03E6: remove_text_box01B4: set_player $PLAYER_CHAR can_move 1 03BF: set_player $PLAYER_CHAR ignored_by_everyone 008DA: remove_panel [email protected]: enable_hud 103F0: enable_text_draw 00050: gosub @Read_Memory1000E: [email protected] -= @Stext10050: gosub @Call_Box10002: jump @Noname_1   :COLOR_10750085: [email protected] = [email protected] // (int) 0085: [email protected] = [email protected] // (int) 0006: [email protected] = 1 0050: gosub @COLOR_1167 0085: [email protected] = [email protected] // (int) 0085: [email protected] = [email protected] // (int) 0006: [email protected] = 1 0050: gosub @COLOR_1167 0085: [email protected] = [email protected] // (int) 0085: [email protected] = [email protected] // (int) 0006: [email protected] = 1 0050: gosub @COLOR_1167 0051: return :COLOR_11670085: [email protected] = [email protected] // (int) 0016: [email protected] /= 4 0012: [email protected] *= 4 0062: [email protected] -= [email protected] // (int) 0050: gosub @COLOR_1317 0012: [email protected] *= 8 0012: [email protected] *= 8 000E: [email protected] -= 1 0006: [email protected] = 0 :COLOR_123200D6: if 08B6:   test [email protected] bit [email protected] 004D: jump_if_false @COLOR_1266 08BF: set [email protected] bit [email protected] 0002: jump @COLOR_1274 :COLOR_126608C5: clear [email protected] bit [email protected] :COLOR_1274000A: [email protected] += 1 000A: [email protected] += 1 001D:   [email protected] > [email protected] // (int) 004D: jump_if_false @COLOR_1232 008A: &0([email protected],1i) = [email protected] // (int) 0051: return :COLOR_1317000E: [email protected] -= 0xA49960 0016: [email protected] /= 4 008B: [email protected] = &0([email protected],1i) // (int) 0051: return :Read_Memory10A9F: [email protected] = current_thread_pointer000A: [email protected] += 0x100A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 00051: return :Call_Box100D6: if  0AA9:   is_game_version_original  then   0AA5: call 0x588BE0 num_params 4 pop 4 0 0 0 [email protected]   else   0AA5: call 0x5893B0 num_params 4 pop 4 0 0 0 [email protected] end0051: return:Stext1hex7E 67 7E 43 68 61 6E 67 65 64 5F 73 75 63 63 6573 73 66 75 6C 21 00end

 

 

I'm going to make sure you understand this:

 

0A8D: [email protected] = read_memory 0x969110 size 4 virtual_protect 0

 

 

The cheat address starts at 0x969110, max for one line is 4 letters, if you want more you need to expand the address using a different var for it (see coin-gods script). Notice the size if [email protected] holds 3 numbers of the cheat for exmaple the size would be 3, if it was holding 4 letters it would 4. If the cheat is more than 4 letters, expand it using the address again only it would not be 0x969110 it would be 0x969114

 

Like coin-god did:

 

 

0A8D: [email protected] = read_memory 0x00969110 size 4 virtual_protect  00A8D: [email protected] = read_memory 0x00969114 size 2 virtual_protect 0 00D6: if and04A4:   [email protected] == 0x52554D41 //checks if [email protected] = RUMA04A4:   [email protected] == 0x4B55  //checks if [email protected] = KU

 

 

 

 

 

 

Edited by gtasbigfoot

Share this post


Link to post
Share on other sites
Jasenko

What I don't actually understand, gtasbigfoot is this 0x00969110, 0x00969114 thing. For example, if I use 5 letter "idaho" cheat (494441484F) what address do I have to write?

Are those universal for any cheat lenght?

 

And James script doesn't work, I don't know why... Do I have to change something?

{$CLEO .cs}thread 'WARTSPAWN':WARTSPAWN_19wait 0ifPlayer.Defined($PLAYER_CHAR)jf @WARTSPAWN_19if00E1:   player 0 pressed_key 19jf @WARTSPAWN_190AA5: call 0x43A0B6 num_params 1 pop 1 #infernuswait 2000jump @WARTSPAWN_19

 

 

EDIT

Nevermind, it was my fault. I've been using "standard" end, and not the "numpad" one confused.gif

Edited by Jasenko

Share this post


Link to post
Share on other sites
gtasbigfoot

If you wanted a 5 letter cheat is would go like:

 

{$VERSION 3.1.0027}{$CLEO .cs}0000::Script_010A8D: [email protected] = read_memory 0x969110 size 4 virtual_protect 00A8D: [email protected] = read_memory 0x969114 size 1 virtual_protect 000D6: if and04A4:   [email protected] == 0x49444148 // four keys04A4:   [email protected] == 0x4F       //  key004D: jump_if_false @Script_01 03E5: text_box 'CHEAT1' // Cheat activated0247: load_model 0x223038B: load_requested_modelswhile 8248: not  model 0x223 available0001: wait 0 msend04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 12.8 0.000A5: [email protected] = create_car 0x223 at [email protected] [email protected] [email protected]: set_car [email protected] health_to 0xFA00249: release_model 0x22301C3: remove_references_to_car [email protected] // Like turning a car into any random car 0A8C: write_memory 0x969110 size 4 value 0 virtual_protect 00A8C: write_memory 0x969114 size 1 value 0 virtual_protect 00001: wait 2000 ms0002: jump @Script_0

 

 

If the cheat is more than 4 letters, it needs more than one 0ABD: using for the cheat to work.

If the cheat is more than eight, than it would need 3 and the third parameter of opcode 0ABD: is the number

of letters it holds.

 

I'm going to explain now the main thing you asked as clear as I can:

 

The cheat address starts at "0x969110" if the cheat is more than four letters the next time you use opcode

0A8D: the address will be "0x969114"

 

 

0A8D: [email protected] = read_memory 0x969110 size 4 virtual_protect 00A8D: [email protected] = read_memory 0x969114 size 1 virtual_protect 000D6: if and04A4:   [email protected] == 0x49444148 //  four keys04A4:   [email protected] == 0x4F       //  key

 

 

Do you understand a little now?

Edited by gtasbigfoot

Share this post


Link to post
Share on other sites
640509-040147

And if it is 10 chars, we would need

0A8D: [email protected] = read_memory 0x969118 size 2 virtual_protect 0//AND0A8C: write_memory 0x969118 size 2 virtual_protect 0

right?

Edited by 640509-040147

Share this post


Link to post
Share on other sites
_VaNkAtA_
And if it is 10 chars, we would need
0A8D: [email protected] = read_memory 0x969118 size 2 virtual_protect 0//AND0A8C: write_memory 0x969118 size 2 virtual_protect 0

right?

You will need:

 

if and0A8D: [email protected] = read_memory 0x969118 size 2 virtual_protect 00A8C: write_memory 0x969118 size 2 virtual_protect 0

 

 

Share this post


Link to post
Share on other sites
640509-040147
You will need:

 

if and0A8D: [email protected] = read_memory 0x969118 size 2 virtual_protect 00A8C: write_memory 0x969118 size 2 virtual_protect 0

 

That's what I just said. Besides, I was not talking about them coming together, no. Neither the if thingy. I was talking about the 0x9691** things.

Share this post


Link to post
Share on other sites
gtasbigfoot

 

And if it is 10 chars, we would need
0A8D: [email protected] = read_memory 0x969118 size 2 virtual_protect 0//AND0A8C: write_memory 0x969118 size 2 virtual_protect 0

right?

Yes, that is correct.

 

 

Example:

 

 

{$VERSION 3.1.0027}{$CLEO .cs}0000::Script_010A8D: [email protected] = read_memory 0x969110 size 4 virtual_protect 00A8D: [email protected] = read_memory 0x969114 size 4 virtual_protect 00A8D: [email protected] = read_memory 0x969118 size 2 virtual_protect 000D6: if and04A4:   [email protected] == 0x //(4 keys) 04A4:   [email protected] == 0x //(4 keys) 04A4:   [email protected] == 0x // (2 first keys)        004D: jump_if_false @Script_01 03E5: text_box 'CHEAT1' // Cheat activated0247: load_model 0x223038B: load_requested_modelswhile 8248: not  model 0x223 available0001: wait 0 msend04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 12.8 0.000A5: [email protected] = create_car 0x223 at [email protected] [email protected] [email protected]: set_car [email protected] health_to 0xFA00249: release_model 0x22301C3: remove_references_to_car [email protected] // Like turning a car into any random car 0A8C: write_memory 0x969110 size 4 value 0 virtual_protect 00A8C: write_memory 0x969114 size 4 value 0 virtual_protect 00A8C: write_memory 0x969118 size 2 value 0 virtual_protect 00001: wait 2000 ms0002: jump @Script_01

 

 

Other way:

 

 

{$VERSION 3.1.0027}{$CLEO .cs}0000::Script_00001: wait 0 ms0006: [email protected] = -0x38212     008B: [email protected] = &0([email protected],1i) // (int) 0085: [email protected] = [email protected] // (int) 0016: [email protected] /= 0x10000 0012: [email protected] *= 0x10000 0062: [email protected] -= [email protected] // (int)    00D6: if 0039:   [email protected] == 0x //(2 first keys) 004D: jump_if_false @Script_00006: [email protected] = -0x38213 00D6: if              0038:   &0([email protected],1i) == 0x // (4 keys)  004D: jump_if_false @Script_00006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x //(4 keys)   004D: jump_if_false @Script_00004: &0([email protected],1i) = 0x // (the last keys above ^ but replace the last with 0003E5: show_text_box 'CHEAT1' // Cheat activatedwhile 8248: not  model 0x223 available0001: wait 0 msend04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 12.8 0.000A5: [email protected] = create_car 0x223 at [email protected] [email protected] [email protected]: set_car [email protected] health_to 0xFA00249: release_model 0x22301C3: remove_references_to_car [email protected] // Like turning a car into any random car 0001: wait 2000 ms0002: jump @Script_0

 

Edited by gtasbigfoot

Share this post


Link to post
Share on other sites
Jasenko

I understand smile.gif

 

Starting value = 0x969110 (1,2,3 and 4 letters )

5,6,7,8 letters = 0x969114

9,10,11,12 letters = 0x969118

 

13,14,15,16 letters = 0x969122 ?

 

 

gtasbigfoot, maybe you can help me understand THIS one as well?

Edited by Jasenko

Share this post


Link to post
Share on other sites
gtasbigfoot

You should create the car using opcode 00A5: not using a parked car gen. Edit the coords of this script, and test if the

cars are visible now.

 

I recommend to link the player to LC, and then spawn the cars by key press. I can not put coords in for you as I'm

helping another person with his maths.

 

Here is a demo script:

 

 

 

{$CLEO}0000::LC_Car_00001: wait 0 ms00D6: if0256:   player $PLAYER_CHAR defined 004D: jump_if_false @LC_Car_0 00D6: if0AB0:  key_pressed 0x54 // --Key = T004D: jump_if_false @LC_Car_00169: set_fade_color_RGB 0 0 0 016A: fade 0 time 500 :LC_Car_0000D6: if016B:   fading 004D: jump_if_false @LC_Car_0000001: wait 0 ms0002: jump @LC_Car_00:LC_Car_0000004: $ONMISSION = 0x1  04BB: select_interior 1 0860: link_actor $PLAYER_ACTOR to_interior 1 0395: clear_area 1 at X.Y.Z radius 1.0  // Edit the coords here04E4: unknown_refresh_game_renderer_at X.Y // Edit  the coords here0A0B: set_rendering_origin_at_3D_coord X.Y.Z angle 84.0  // Edit  the coords here00A1: put_actor $PLAYER_ACTOR at X.Y.Z  // Edit  the coords here(should be the same coords as above^)0173: set_actor $PLAYER_ACTOR Z_angle_to 180.0 0247: load_model 0x1FA // Super GT0247: load_model 0x1C3 // Turismo0247: load_model 0x20F // Cadrona0247: load_model 0x1F0 // Blista Compact0247: load_model 0x191 // Bravura 038B: load_requested_models :LC_Car_100D6: if or8248:   not model 0x1FA available8248:   not model 0x1C3 available 8248:   not model 0x20F available  004D: jump_if_false @LC_Car_2 0001: wait 0 ms0002: jump @LC_Car_1:LC_Car_200D6: if or8248:   not model 0x1F0  available8248:   not model 0x191 available 004D: jump_if_false @LC_Car_30001: wait 0 ms0002: jump @LC_Car_2:LC_Car_300A5: [email protected] = create_car 0x1FA at X.Y.Z   // Edit the coords here0175: set_car [email protected] Z_angle_to 90.556210840: link_car [email protected] to_interior 0x1 00A5: [email protected] = create_car 0x1C3 at X.Y.Z  // Edit the coords here0175: set_car [email protected] Z_angle_to 90.502820840: link_car [email protected] to_interior 0x100A5: [email protected] = create_car 0x20F at X.Y.Z  // Edit the coords here0175: set_car [email protected] Z_angle_to 90.502820840: link_car [email protected] to_interior 0x1 00A5: [email protected] = create_car 0x1F0 at X.Y.Z   // Edit the coords here0175: set_car [email protected] Z_angle_to 90.502820840: link_car [email protected] to_interior 0x1  00A5: [email protected] = create_car 0x191 at X.Y.Z  // Edit the coords here0175: set_car [email protected] Z_angle_to 90.502820840: link_car [email protected] to_interior 0x1    0249: release_model 0x1FA0249: release_model 0x1C30249: release_model 0x20F0249: release_model 0x1F00249: release_model 0x19101C3: remove_references_to_car [email protected] // Like turning a car into any random car 01C3: remove_references_to_car [email protected] // Like turning a car into any random car01C3: remove_references_to_car [email protected] // Like turning a car into any random car 01C3: remove_references_to_car [email protected] // Like turning a car into any random car01C3: remove_references_to_car [email protected] // Like turning a car into any random car0001: wait 1200016A: fade 1 time 1500 0004: $ONMISSION = 0x0 0A93: end_custom_thread

 

 

 

Share this post


Link to post
Share on other sites
Jasenko

{$CLEO .cs}:KURUMA03A4: name_thread 'KURUMA':start0001: wait 0 ms0A8D: [email protected] = read_memory 0x00969110 size 4 virtual_protect 0  0A8D: [email protected] = read_memory 0x00969114 size 2 virtual_protect 0  00D6: if 1                  04A4:   [email protected] == 0x52554D41 //RUMA  04A4:   [email protected] == 0x4B55 //KU  004D: jump_if_false @start:start_00247:  request_model #PRIMO038B: load_requested_models:check0001: wait 0 ms00D6: if and0248:   model #PRIMO available004D: jump_if_false @check03E5: text_box 'CHEAT1'  // The Cheat Activation04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 6.8 0.000A5: [email protected] = create_car #PRIMO at [email protected] [email protected] [email protected]: set_car [email protected] health_to 40000249: release_model #PRIMO0A8C: write_memory 0x00969110 size 4 value 0 virtual_protect 00A8C: write_memory 0x00969114 size 2 value 0 virtual_protect 00002: jump @start

 

 

Finished this one. Again, it's "KURUMA", but this time made by me. It does work, but is it stable enough?

I've also changed spawn offset into 6.8.

 

And gtasbigfoot, thanks for helping me with LC script, but next time please answer in another topic. I'm still using these scripts as template for cheat-spawning, so I don't want to mix up things...

 

BTW, that script of yours - is it going to spawn vehicles randomly, or just specific car model? I actually need 3 specific cars spawned around Saint Mark's AFTER finishing the game 100% .

Share this post


Link to post
Share on other sites
640509-040147

 

BTW, that script of yours - is it going to spawn vehicles randomly, or just specific car model? I actually need 3 specific cars spawned around Saint Mark's AFTER finishing the game 100% .

gtasbigfoot uses the hex ID for the vehicles, not the Model ID. So, specific vehicles will spawn, I think. I prefer the Model ID way though, personally.

Edited by 640509-040147

Share this post


Link to post
Share on other sites
Jasenko
BTW, that script of yours - is it going to spawn vehicles randomly, or just specific car model? I actually need 3 specific cars spawned around Saint Mark's AFTER finishing the game 100% .

gtasbigfoot uses the hex ID for the vehicles, not the Model ID. So, specific vehicles will spawn, I think. I prefer the Model ID way though, personally.

Yeah, I've noticed.

As for the script, I've confirmed that only specific models spawn.

Share this post


Link to post
Share on other sites
Jasenko

BUMP

 

 

Can someone show me an example of spawn script that uses menu & fxt text?

 

For example, when I type "GTA3", menu appears with vehicle names like "kuruma", "idaho", "police", "bobcat" and other...

After selecting vehicle with RSHIFT, it spawns in front of CJ

Share this post


Link to post
Share on other sites
gtasbigfoot

@Jasenko I written a menu script, it spawns, Infernus, Bullet, Tursimo, Cheetah, and Sultan

Change the model name with what you wish! (Entry's I used, do not need a .*fxt file, they are

already in the game).

 

To create a *.fxt file is more easy than anything, I mean, it can not get much more easier than

it already is to create one; James written a thingy on his site, BTW;

http://www.james227ukmods.co.cc/ (Look in the "guides" part).

 

After you created one simply, change the menus data entry's.

 

 

{$CLEO .cs}0000: // "GTA3" :Menu_010001: wait 0 ms 0006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x47544133   004D: jump_if_false @Menu_010004: &0([email protected],1i) = 0x4754410003E5: show_text_box 'CHEAT1'  // Cheat activated0343: set_text_draw_linewidth 680.0033E: set_draw_text_position 36.0 20.0 GXT 'TATTA'  01B4: set_player $PLAYER_CHAR can_move 0 03BF: set_player $PLAYER_CHAR ignored_by_everyone 10826: enable_hud 008D4: [email protected] = create_panel_with_title 'DUMMY' position 340.0 120.0 width 240.0 columns 1 interactive 1 background 1 alignment 008DB: set_panel [email protected]  column 0 header 'DUMMY' data 'INFERNU' 'BULLET' 'TURISMO' 'CHEETAH' 'SULTAN' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY'  090E: set_panel [email protected]  active_row 004C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 8.0 0.0 :Menu_020001: wait  0 ms00D6: if0256:   player $PLAYER_CHAR defined004D: jump_if_false @Remove_Menu00D6: if  00E1:   player 0 pressed_key 15004D: jump_if_false @Menu_030002: jump @Remove_Menu:Menu_030001: wait  0 ms00D6: if  00E1:   player 0 pressed_key 16004D: jump_if_false @Menu_0208D7: [email protected] = panel [email protected] active_row0008: [email protected] +=  1 :Menu_0500D6: if  0039:   [email protected] ==  1  004D: jump_if_false @Menu_060247: load_model #INFERNUSwhile 8248:   not model  #INFERNUS available0001: wait  0 msend 00A5: [email protected] = create_car #INFERNUS  at [email protected] [email protected] [email protected]: release_model #INFERNUS 01C3: remove_references_to_car [email protected] // Like turning a car into any random car 0002: jump @Remove_Menu:Menu_0600D6: if  0039:   [email protected] ==  2  004D: jump_if_false @Menu_070247: load_model #BULLETwhile 8248:   not model  #BULLET available0001: wait  0 msend 00A5: [email protected] = create_car #BULLET  at [email protected] [email protected] [email protected]: release_model #BULLET01C3: remove_references_to_car [email protected] // Like turning a car into any random car 0002: jump @Remove_Menu:Menu_0700D6: if  0039:   [email protected] ==  3  004D: jump_if_false @Menu_080247: load_model #TURISMOwhile 8248:   not model  #TURISMO available0001: wait  0 msend 00A5: [email protected] = create_car #TURISMO  at [email protected] [email protected] [email protected]: release_model #TURISMO01C3: remove_references_to_car [email protected] // Like turning a car into any random car 0002: jump @Remove_Menu:Menu_0800D6: if  0039:   [email protected] ==  4  004D: jump_if_false @Menu_090247: load_model  #CHEETAHwhile 8248:   not model  #CHEETAH available0001: wait  0 msend 00A5: [email protected] = create_car #CHEETAH  at [email protected] [email protected] [email protected]: release_model #CHEETAH01C3: remove_references_to_car [email protected] // Like turning a car into any random car 0002: jump @Remove_Menu:Menu_0900D6: if  0039:   [email protected] ==  5  004D: jump_if_false @Remove_Menu0247: load_model  #SULTANwhile 8248:   not model #SULTAN available0001: wait  0 msend 00A5: [email protected] = create_car #SULTAN  at [email protected] [email protected] [email protected]: release_model #SULTAN01C3: remove_references_to_car [email protected] // Like turning a car into any random car:Remove_Menu03E6: remove_text_box01B4: set_player $PLAYER_CHAR can_move 1 03BF: set_player $PLAYER_CHAR ignored_by_everyone 008DA: remove_panel [email protected]: enable_hud 103F0: enable_text_draw 00002: jump @Menu_01

 

 

Menus work by buttons, have a look in to the example script above^.

 

Needs to setup the column with:

 

 

08D4: [email protected] = create_panel_with_title 'DUMMY' position 340.0 120.0 width 240.0 columns 1 interactive 1 background 1 alignment 0

 

 

Then create the menus contents with 08DB:

 

 

08DB: set_panel [email protected] column  0 header 'DUMMY' data 'INFERNU' 'BULLET' 'TURISMO' 'CHEETAH' 'SULTAN' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 

 

 

Activate panel with 090E:

 

 

090E: set_panel [email protected] active_row  0

 

 

The up/down function is automatically to up/down arrow keys.

Check in following loop key press and if key is pressed get the value of the active button place:

 

 

08D7: [email protected] = panel [email protected] active_row

 

 

"DUMMY" is nothing. In the example above^ only 5 data column's are used. So the others are dummy's meaning they do not exist until you created them.

 

When menu is not needed anymore remove it:

 

 

08DA: remove_panel [email protected]

 

 

 

Share this post


Link to post
Share on other sites
Jasenko
@Jasenko I written a menu script, it spawns, Infernus, Bullet, Tursimo, Cheetah, and Sultan

Change the model name with what you wish! (Entry's I used, do not need a .*fxt file, they are

already in the game).

 

To create a *.fxt file is more easy than anything, I mean, it can not get much more easier than

it already is to create one; James written a thingy on his site, BTW;

http://www.james227ukmods.co.cc/ (Look in the "guides" part).

 

After you created one simply, change the menus data entry's.

 

 

{$CLEO .cs}0000: // "GTA3" :Menu_010001: wait 0 ms 0006: [email protected] = -0x38214 00D6: if 0038:   &0([email protected],1i) == 0x47544133   004D: jump_if_false @Menu_010004: &0([email protected],1i) = 0x4754410003E5: show_text_box 'CHEAT1'  // Cheat activated0343: set_text_draw_linewidth 680.0033E: set_draw_text_position 36.0 20.0 GXT 'TATTA'  01B4: set_player $PLAYER_CHAR can_move 0 03BF: set_player $PLAYER_CHAR ignored_by_everyone 10826: enable_hud 008D4: [email protected] = create_panel_with_title 'DUMMY' position 340.0 120.0 width 240.0 columns 1 interactive 1 background 1 alignment 008DB: set_panel [email protected]  column 0 header 'DUMMY' data 'INFERNU' 'BULLET' 'TURISMO' 'CHEETAH' 'SULTAN' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY'  090E: set_panel [email protected]  active_row 004C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 8.0 0.0 :Menu_020001: wait  0 ms00D6: if0256:   player $PLAYER_CHAR defined004D: jump_if_false @Remove_Menu00D6: if  00E1:   player 0 pressed_key 15004D: jump_if_false @Menu_030002: jump @Remove_Menu:Menu_030001: wait  0 ms00D6: if  00E1:   player 0 pressed_key 16004D: jump_if_false @Menu_0208D7: [email protected] = panel [email protected] active_row0008: [email protected] +=  1 :Menu_0500D6: if  0039:   [email protected] ==  1  004D: jump_if_false @Menu_060247: load_model #INFERNUSwhile 8248:   not model  #INFERNUS available0001: wait  0 msend 00A5: [email protected] = create_car #INFERNUS  at [email protected] [email protected] [email protected]: release_model #INFERNUS 01C3: remove_references_to_car [email protected] // Like turning a car into any random car 0002: jump @Remove_Menu:Menu_0600D6: if  0039:   [email protected] ==  2  004D: jump_if_false @Menu_070247: load_model #BULLETwhile 8248:   not model  #BULLET available0001: wait  0 msend 00A5: [email protected] = create_car #BULLET  at [email protected] [email protected] [email protected]: release_model #BULLET01C3: remove_references_to_car [email protected] // Like turning a car into any random car 0002: jump @Remove_Menu:Menu_0700D6: if  0039:   [email protected] ==  3  004D: jump_if_false @Menu_080247: load_model #TURISMOwhile 8248:   not model  #TURISMO available0001: wait  0 msend 00A5: [email protected] = create_car #TURISMO  at [email protected] [email protected] [email protected]: release_model #TURISMO01C3: remove_references_to_car [email protected] // Like turning a car into any random car 0002: jump @Remove_Menu:Menu_0800D6: if  0039:   [email protected] ==  4  004D: jump_if_false @Menu_090247: load_model  #CHEETAHwhile 8248:   not model  #CHEETAH available0001: wait  0 msend 00A5: [email protected] = create_car #CHEETAH  at [email protected] [email protected] [email protected]: release_model #CHEETAH01C3: remove_references_to_car [email protected] // Like turning a car into any random car 0002: jump @Remove_Menu:Menu_0900D6: if  0039:   [email protected] ==  5  004D: jump_if_false @Remove_Menu0247: load_model  #SULTANwhile 8248:   not model #SULTAN available0001: wait  0 msend 00A5: [email protected] = create_car #SULTAN  at [email protected] [email protected] [email protected]: release_model #SULTAN01C3: remove_references_to_car [email protected] // Like turning a car into any random car:Remove_Menu03E6: remove_text_box01B4: set_player $PLAYER_CHAR can_move 1 03BF: set_player $PLAYER_CHAR ignored_by_everyone 008DA: remove_panel [email protected]: enable_hud 103F0: enable_text_draw 00002: jump @Menu_01

 

 

Menus work by buttons, have a look in to the example script above^.

 

Needs to setup the column with:

 

 

08D4: [email protected] = create_panel_with_title 'DUMMY' position 340.0 120.0 width 240.0 columns 1 interactive 1 background 1 alignment 0

 

 

Then create the menus contents with 08DB:

 

 

08DB: set_panel [email protected] column  0 header 'DUMMY' data 'INFERNU' 'BULLET' 'TURISMO' 'CHEETAH' 'SULTAN' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 

 

 

Activate panel with 090E:

 

 

090E: set_panel [email protected] active_row  0

 

 

The up/down function is automatically to up/down arrow keys.

Check in following loop key press and if key is pressed get the value of the active button place:

 

 

08D7: [email protected] = panel [email protected] active_row

 

 

"DUMMY" is nothing. In the example above^ only 5 data column's are used. So the others are dummy's meaning they do not exist until you created them.

 

When menu is not needed anymore remove it:

 

 

08DA: remove_panel [email protected]

 

Thanks! I'll try it ASAP. smile.gif

Share this post


Link to post
Share on other sites
Jasenko

Sorry for bumping & double-posting, but I need more help.

 

 

Finally, I've tested gtasbigfoot's spawn script, and it works. However, I don't understand those "DUMMY" issues.

I've tried to add new vehicle, but it doesn't spawn...

 

Can someone please tell me what do I need to add in order to upgrade the script?

Share this post


Link to post
Share on other sites
Jasenko

Thanks!

 

{$CLEO .cs}0000: // "GTA3":Menu_010001: wait 0 ms0006: [email protected] = -0x3821400D6: if0038:   &0([email protected],1i) == 0x47544133  004D: jump_if_false @Menu_010004: &0([email protected],1i) = 0x4754410003E5: show_text_box 'CHEAT1'  // Cheat activated0343: set_text_draw_linewidth 680.0033E: set_draw_text_position 36.0 20.0 GXT 'TATTA'  01B4: set_player $PLAYER_CHAR can_move 003BF: set_player $PLAYER_CHAR ignored_by_everyone 10826: enable_hud 008D4: [email protected] = create_panel_with_title 'DUMMY' position 340.0 120.0 width 240.0 columns 1 interactive 1 background 1 alignment 008DB: set_panel [email protected]  column 0 header 'DUMMY' data 'INFERNU' 'BULLET' 'TURISMO' 'CHEETAH' 'SULTAN' 'BRAVURA' 'CADRONA' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY'  090E: set_panel [email protected]  active_row 004C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 8.0 0.0:Menu_020001: wait  0 ms00D6: if0256:   player $PLAYER_CHAR defined004D: jump_if_false @Remove_Menu00D6: if  00E1:   player 0 pressed_key 15004D: jump_if_false @Menu_030002: jump @Remove_Menu:Menu_030001: wait  0 ms00D6: if  00E1:   player 0 pressed_key 16004D: jump_if_false @Menu_0208D7: [email protected] = panel [email protected] active_row0008: [email protected] +=  1:Menu_0500D6: if  0039:   [email protected] ==  1  004D: jump_if_false @Menu_060247: load_model #INFERNUSwhile 8248:   not model  #INFERNUS available0001: wait  0 msend00A5: [email protected] = create_car #INFERNUS  at [email protected] [email protected] [email protected]: release_model #INFERNUS01C3: remove_references_to_car [email protected] // Like turning a car into any random car0002: jump @Remove_Menu:Menu_0600D6: if  0039:   [email protected] ==  2  004D: jump_if_false @Menu_070247: load_model #BULLETwhile 8248:   not model  #BULLET available0001: wait  0 msend00A5: [email protected] = create_car #BULLET  at [email protected] [email protected] [email protected]: release_model #BULLET01C3: remove_references_to_car [email protected] // Like turning a car into any random car0002: jump @Remove_Menu:Menu_0700D6: if  0039:   [email protected] ==  3  004D: jump_if_false @Menu_080247: load_model #TURISMOwhile 8248:   not model  #TURISMO available0001: wait  0 msend00A5: [email protected] = create_car #TURISMO  at [email protected] [email protected] [email protected]: release_model #TURISMO01C3: remove_references_to_car [email protected] // Like turning a car into any random car0002: jump @Remove_Menu:Menu_0800D6: if  0039:   [email protected] ==  4  004D: jump_if_false @Menu_090247: load_model  #CHEETAHwhile 8248:   not model  #CHEETAH available0001: wait  0 msend00A5: [email protected] = create_car #CHEETAH  at [email protected] [email protected] [email protected]: release_model #CHEETAH01C3: remove_references_to_car [email protected] // Like turning a car into any random car0002: jump @Remove_Menu:Menu_0900D6: if  0039:   [email protected] ==  5  004D: jump_if_false @Menu_100247: load_model  #SULTANwhile 8248:   not model #SULTAN available0001: wait  0 msend00A5: [email protected] = create_car #SULTAN  at [email protected] [email protected] [email protected]: release_model #SULTAN01C3: remove_references_to_car [email protected] // Like turning a car into any random car0002: jump @Remove_Menu:Menu_1000D6: if  0039:   [email protected] ==  6  004D: jump_if_false @Menu_110247: load_model  #BRAVURAwhile 8248:   not model #BRAVURA available0001: wait  0 msend00A5: [email protected] = create_car #BRAVURA  at [email protected] [email protected] [email protected]: release_model #BRAVURA01C3: remove_references_to_car [email protected] // Like turning a car into any random car0002: jump @Remove_Menu:Menu_1100D6: if  0039:   [email protected] ==  7  004D: jump_if_false @Remove_Menu0247: load_model  #CADRONAwhile 8248:   not model #CADRONA available0001: wait  0 msend00A5: [email protected] = create_car #CADRONA  at [email protected] [email protected] [email protected]: release_model #CADRONA01C3: remove_references_to_car [email protected] // Like turning a car into any random car:Remove_Menu03E6: remove_text_box01B4: set_player $PLAYER_CHAR can_move 103BF: set_player $PLAYER_CHAR ignored_by_everyone 008DA: remove_panel [email protected]: enable_hud 103F0: enable_text_draw 00002: jump @Menu_01

 

 

BTW, do I have to add "0002: jump @Remove_Menu" in the last entry as well?

Share this post


Link to post
Share on other sites
gtasbigfoot

No.

Share this post


Link to post
Share on other sites
Jasenko
No.

Thanks, again cookie.gif

Share this post


Link to post
Share on other sites
Jasenko

One more question.

 

I've noticed that script doesn't use "0A8D: [email protected] = read_memory 0x00969110 size 4 virtual_protect 0" and "0A8C: write_memory 0x00969110 size 4 value 0 virtual_protect 0". When using "GTA3RIDE" cheat with 8 letters, do I have to change something, or just use "4754413352494445" as single value?

Share this post


Link to post
Share on other sites
gtasbigfoot

Yes, that's because I do not always make cheats the simple way.

 

If you wanted a 8 letter cheat using that way it would go like this:

 

 

:Cheat_030001: wait 0 ms0006: [email protected] = -0x3821300D6: if0038:  &0([email protected],1i) == 0x53435249   004D: jump_if_false @Cheat_030006: [email protected] = -0x3821400D6: if0038:  &0([email protected],1i) == 0x5054494E         004D: jump_if_false @Cheat_030004: &0([email protected],1i) = 0x5054490003E5: show_text_box 'CHEAT1'  // Cheat activated

 

 

Like I explain here

 

So if you wanted it to active, when the player typed that, it would be this:

 

 

{$CLEO .cs}0000: " // "GTA3RIDE":Menu_010001: wait 0 ms0006: [email protected] = -0x3821300D6: if0038:  &0([email protected],1i) == 0x47544133  // GTA3004D: jump_if_false @Menu_010006: [email protected] = -0x3821400D6: if0038:  &0([email protected],1i) == 0x52494445  // Ride      004D: jump_if_false @Menu_010004: &0([email protected],1i) = 0x52494400 // Ride (but not e) replace last digit with "00"03E5: show_text_box 'CHEAT1'  // Cheat activated0343: set_text_draw_linewidth 680.0033E: set_draw_text_position 36.0 20.0 GXT 'TATTA'  01B4: set_player $PLAYER_CHAR can_move 003BF: set_player $PLAYER_CHAR ignored_by_everyone 10826: enable_hud 008D4: [email protected] = create_panel_with_title 'DUMMY' position 340.0 120.0 width 240.0 columns 1 interactive 1 background 1 alignment 008DB: set_panel [email protected]  column 0 header 'DUMMY' data 'INFERNU' 'BULLET' 'TURISMO' 'CHEETAH' 'SULTAN' 'BRAVURA' 'CADRONA' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY'  090E: set_panel [email protected]  active_row 004C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 8.0 0.0:Menu_020001: wait  0 ms00D6: if0256:   player $PLAYER_CHAR defined004D: jump_if_false @Remove_Menu00D6: if  00E1:   player 0 pressed_key 15004D: jump_if_false @Menu_030002: jump @Remove_Menu:Menu_030001: wait  0 ms00D6: if  00E1:   player 0 pressed_key 16004D: jump_if_false @Menu_0208D7: [email protected] = panel [email protected] active_row0008: [email protected] +=  1:Menu_0500D6: if  0039:   [email protected] ==  1  004D: jump_if_false @Menu_060247: load_model #INFERNUSwhile 8248:   not model  #INFERNUS available0001: wait  0 msend00A5: [email protected] = create_car #INFERNUS  at [email protected] [email protected] [email protected]: release_model #INFERNUS01C3: remove_references_to_car [email protected] // Like turning a car into any random car0002: jump @Remove_Menu:Menu_0600D6: if  0039:   [email protected] ==  2  004D: jump_if_false @Menu_070247: load_model #BULLETwhile 8248:   not model  #BULLET available0001: wait  0 msend00A5: [email protected] = create_car #BULLET  at [email protected] [email protected] [email protected]: release_model #BULLET01C3: remove_references_to_car [email protected] // Like turning a car into any random car0002: jump @Remove_Menu:Menu_0700D6: if  0039:   [email protected] ==  3  004D: jump_if_false @Menu_080247: load_model #TURISMOwhile 8248:   not model  #TURISMO available0001: wait  0 msend00A5: [email protected] = create_car #TURISMO  at [email protected] [email protected] [email protected]: release_model #TURISMO01C3: remove_references_to_car [email protected] // Like turning a car into any random car0002: jump @Remove_Menu:Menu_0800D6: if  0039:   [email protected] ==  4  004D: jump_if_false @Menu_090247: load_model  #CHEETAHwhile 8248:   not model  #CHEETAH available0001: wait  0 msend00A5: [email protected] = create_car #CHEETAH  at [email protected] [email protected] [email protected]: release_model #CHEETAH01C3: remove_references_to_car [email protected] // Like turning a car into any random car0002: jump @Remove_Menu:Menu_0900D6: if  0039:   [email protected] ==  5  004D: jump_if_false @Menu_100247: load_model  #SULTANwhile 8248:   not model #SULTAN available0001: wait  0 msend00A5: [email protected] = create_car #SULTAN  at [email protected] [email protected] [email protected]: release_model #SULTAN01C3: remove_references_to_car [email protected] // Like turning a car into any random car0002: jump @Remove_Menu:Menu_1000D6: if  0039:   [email protected] ==  6  004D: jump_if_false @Menu_110247: load_model  #BRAVURAwhile 8248:   not model #BRAVURA available0001: wait  0 msend00A5: [email protected] = create_car #BRAVURA  at [email protected] [email protected] [email protected]: release_model #BRAVURA01C3: remove_references_to_car [email protected] // Like turning a car into any random car0002: jump @Remove_Menu:Menu_1100D6: if  0039:   [email protected] ==  7  004D: jump_if_false @Remove_Menu0247: load_model  #CADRONAwhile 8248:   not model #CADRONA available0001: wait  0 msend00A5: [email protected] = create_car #CADRONA  at [email protected] [email protected] [email protected]: release_model #CADRONA01C3: remove_references_to_car [email protected] // Like turning a car into any random car:Remove_Menu03E6: remove_text_box01B4: set_player $PLAYER_CHAR can_move 103BF: set_player $PLAYER_CHAR ignored_by_everyone 008DA: remove_panel [email protected]: enable_hud 103F0: enable_text_draw 00002: jump @Menu_01

 

Share this post


Link to post
Share on other sites
Jasenko
Thanks

Share this post


Link to post
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
Sign in to follow this  

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

×

Important Information

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