Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      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

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

how to make a clothes change with cheats


KnightProwl
 Share

Recommended Posts

hello, i was wondering, how would i go about doing this, cause i want to make my own codes for my batman mod now, cause no on else will, and so, id figure id start with something simple, ok, this is what i want to know, is it possible, to make a cheat code to change into certain clothes, haircuts, ect, and then with the same cheat, deactivate and and go back to your normal clothes, if so, can someone tell me what opcodes to look for, and then, help me with my code if there are any mistakes, also, id just like to say, that since i cannot find a coder atm, and probably never will find a true coder, and since its up to me now, i guess you can just help me with what i need, i mean, ill make the code, or try to do my best on it, then, some pro coder can tell me where im wrong, and then ill eventually have all the codes and all the missions, ect.., cause now im serious about coding, cause i cant find anyone to help me anymore, so ill learn myself, anyways, plz, once i find an example cheat ill start on my own, anyways, thanks for all the support and fans of my batman mod, anyways, ttyl, peace

 

KP

 

[EDIT] - ok guys, here is my, well, sorta working code, idk what i did or didnt do, but no crashes, but he auto spawns in all of the suits, making the game slow and non respondent, i want to make it to where you can change suits by pressing a button, not auto be in all suits, so plz, anyone willing to tell me where i am wrong, plz tell me, anyways, here is my code below, anyways, ttyl, peace guys wink.gif

 

 

// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------03A4: name_thread 'BATSUITS' 0001: wait 0 ms 00D6: if 0256:   player $PLAYER_CHAR defined 004D: jump_if_false @BATSUITS_39 :BATSUITS_390001: wait 0 ms 00D6: if 00E1:   player 0 pressed_key 49 087B: set_player $PLAYER_CHAR clothes_texture "SHELLSUIT" model "TRACKYTOP1" body_part 0 087B: set_player $PLAYER_CHAR clothes_texture "SHELLSUITTR" model "TRACKTR" body_part 2 087B: set_player $PLAYER_CHAR clothes_texture "BIKER" model "BIKER" body_part 3 087B: set_player $PLAYER_CHAR clothes_texture "HOCKEY" model "HOCKEYMASK" body_part 16 070D: rebuild_player $PLAYER_CHAR 0793: save_player_clothes 0001: wait 0 ms 00D6: if 00E1:   player 0 pressed_key 49 0794: restore_player_clothes 004D: jump_if_false @BATSUITS_190 :BATSUITS_1900001: wait 0 ms 00D6: if 00E1:   player 0 pressed_key 50 087B: set_player $PLAYER_CHAR clothes_texture "COUNTRYTR" model "COUNTRYTR" body_part 17 087B: set_player $PLAYER_CHAR clothes_texture "TIMBERGREY" model "BASK1" body_part 3 087B: set_player $PLAYER_CHAR clothes_texture "HELMET" model "HELMET" body_part 16 070D: rebuild_player $PLAYER_CHAR 0793: save_player_clothes 0001: wait 0 ms 00D6: if 00E1:   player 0 pressed_key 50 0794: restore_player_clothes 004D: jump_if_false @BATSUITS_312 :BATSUITS_3120001: wait 0 ms 00D6: if 00E1:   player 0 pressed_key 51 087B: set_player $PLAYER_CHAR clothes_texture "CORNROWS" model "CORNROWS" body_part 1 087B: set_player $PLAYER_CHAR clothes_texture "TIMBERGREY" model "BASK1" body_part 3 087B: set_player $PLAYER_CHAR clothes_texture "GARAGELEG" model "GARAGETR" body_part 17 070D: rebuild_player $PLAYER_CHAR 0793: save_player_clothes 0001: wait 0 ms 00D6: if 00E1:   player 0 pressed_key 51 0794: restore_player_clothes 004D: jump_if_false @BATSUITS_437 :BATSUITS_4370001: wait 0 ms 00D6: if 00E1:   player 0 pressed_key 52 087B: set_player $PLAYER_CHAR clothes_texture "GIMPLEG" model "GIMPLEG" body_part 17 070D: rebuild_player $PLAYER_CHAR 0793: save_player_clothes 0001: wait 0 ms 00D6: if 00E1:   player 0 pressed_key 52 0794: restore_player_clothes 0002: jump @BATSUITS_39 

 

Edited by KnightProwl
Link to comment
Share on other sites

 

thread 'LUNAR'              while [email protected] = -229907 // +32bits; next 4 bytes/chars in the last keypresses block008B: [email protected] = &0([email protected],1i)0085: [email protected] = [email protected]        div([email protected], 0x100)mul([email protected], 0x100)0062: [email protected] -= [email protected]               // 5th char is the last in the second block:if [email protected] == 0x4C                 // test if L is the 5th pressed keythen                          [email protected] = -229908  008B: [email protected] = &0([email protected],1i)  if [email protected] == 0x554E4152       // test if player also typed UNAR after that  then      03E5: text_box 'CHEAT1' // Cheat activated    TYype here the code you want to run when the cheat is typed.  end    endwait 1000end

 

 

Its the script i use sometimes to make custome Cheat Codes, Seeman explained it more . In My Sig you can go to Mem Hacking and see it.

Yl8KS.jpg
Link to comment
Share on other sites

Hi, I need a simple help and don't want open a ney topic...were I found how modify this part of code:

 

 

04A4:   [email protected] == 1095648338 // @ == any 

 

 

To a word of my prefence?I dont find the codes for keypad

 

I'm modifying a 3rd party script for my own use

 

Thanks

Link to comment
Share on other sites

KnightProwl, you made misstakes with the key_press codes

00E1: is the original key_press code and wont work with 49, 50, 51 or 52

only

00E1: player 0 pressed_key 0 till 00E1: player 0 pressed_key 19 is possible

 

you need the cleo opcode 0AB0

 

0AB0: key_pressed 49//---- key 1

Link to comment
Share on other sites

Hi, I need a simple help and don't want open a ney topic...were I found how modify this part of code:

 

 

04A4:   [email protected] == 1095648338 // @ == any 

 

 

To a word of my prefence?I dont find the codes for keypad

 

I'm modifying a 3rd party script for my own use

 

Thanks

Sanny builder has the list of Hex keys in the HELP. Below the CLEO help. Look for it.

Yl8KS.jpg
Link to comment
Share on other sites

Hi, I need a simple help and don't want open a ney topic...were I found how modify this part of code:

 

 

04A4:   [email protected] == 1095648338 // @ == any 

 

 

To a word of my prefence?I dont find the codes for keypad

 

I'm modifying a 3rd party script for my own use

 

Thanks

Sanny builder has the list of Hex keys in the HELP. Below the CLEO help. Look for it.

I found, tomorow I try, thanks!

But...the first letter of the original cheat is A and the total is ANDROM or ANDRO...the code is 1095648338 the first numbers wasn't to be 41 or 65?

Link to comment
Share on other sites

ok guys, ive almost got this, so far, i can change into each suit, but, i cant change out of them :S, all i need now is a code to change out of each suit, anyways, here is the new code that is almost working, thanks and peace guys wink.gif

 

 

// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------03A4: name_thread 'BATSUITS' :BATSUITS_190001: wait 0 ms 00D6: if 0256:   player $PLAYER_CHAR defined 004D: jump_if_false @BATSUITS_19 :BATSUITS_390001: wait 0 ms 00D6: if 0AB0:   key_pressed 49 004D: jump_if_false @BATSUITS_39 087B: set_player $PLAYER_CHAR clothes_texture "SHELLSUIT" model "TRACKYTOP1" body_part 0 087B: set_player $PLAYER_CHAR clothes_texture "SHELLSUITTR" model "TRACKTR" body_part 2 087B: set_player $PLAYER_CHAR clothes_texture "BIKER" model "BIKER" body_part 3 087B: set_player $PLAYER_CHAR clothes_texture "HOCKEY" model "HOCKEYMASK" body_part 16 070D: rebuild_player $PLAYER_CHAR 0001: wait 0 ms 00D6: if 0AB0:   key_pressed 49 0794: restore_player_clothes 004D: jump_if_false @BATSUITS_191 :BATSUITS_1910001: wait 0 ms 00D6: if 0AB0:   key_pressed 50 004D: jump_if_false @BATSUITS_191 087B: set_player $PLAYER_CHAR clothes_texture "COUNTRYTR" model "COUNTRYTR" body_part 17 087B: set_player $PLAYER_CHAR clothes_texture "TIMBERGREY" model "BASK1" body_part 3 087B: set_player $PLAYER_CHAR clothes_texture "CORNROWS" model "CORNROWS" body_part 1 070D: rebuild_player $PLAYER_CHAR 0001: wait 0 ms 00D6: if 0AB0:   key_pressed 50 0794: restore_player_clothes 004D: jump_if_false @BATSUITS_318 :BATSUITS_3180001: wait 0 ms 00D6: if 0AB0:   key_pressed 51 004D: jump_if_false @BATSUITS_318 087B: set_player $PLAYER_CHAR clothes_texture "HELMET" model "HELMET" body_part 16 087B: set_player $PLAYER_CHAR clothes_texture "TIMBERGREY" model "BASK1" body_part 3 087B: set_player $PLAYER_CHAR clothes_texture "GARAGELEG" model "GARAGETR" body_part 17 070D: rebuild_player $PLAYER_CHAR 0001: wait 0 ms 00D6: if 0AB0:   key_pressed 51 0794: restore_player_clothes 004D: jump_if_false @BATSUITS_440 :BATSUITS_4400001: wait 0 ms 00D6: if 0AB0:   key_pressed 52 004D: jump_if_false @BATSUITS_440 087B: set_player $PLAYER_CHAR clothes_texture "GIMPLEG" model "GIMPLEG" body_part 17 070D: rebuild_player $PLAYER_CHAR 0001: wait 0 ms 00D6: if 0AB0:   key_pressed 52 0794: restore_player_clothes 0002: jump @BATSUITS_19 

 

Edited by KnightProwl
Link to comment
Share on other sites

thread 'LUNAR'              while [email protected] = -229907 // +32bits; next 4 bytes/chars in the last keypresses block008B: [email protected] = &0([email protected],1i)0085: [email protected] = [email protected]        div([email protected], 0x100)mul([email protected], 0x100)0062: [email protected] -= [email protected]               // 5th char is the last in the second block:if [email protected] == 0x4C                 // test if L is the 5th pressed keythen                          [email protected] = -229908  008B: [email protected] = &0([email protected],1i)  if [email protected] == 0x554E4152       // test if player also typed UNAR after that  then      03E5: text_box 'CHEAT1' // Cheat activated    TYype here the code you want to run when the cheat is typed.  end    endwait 1000end

 

 

Its the script i use sometimes to make custome Cheat Codes, Seeman explained it more . In My Sig you can go to Mem Hacking and see it.

Your sig is disabled

Link to comment
Share on other sites

 

ok guys, ive almost got this, so far, i can change into each suit, but, i cant change out of them :S, all i need now is a code to change out of each suit, anyways, here is the new code that is almost working, thanks and peace guys wink.gif

 

 

This remove the bodypart 2

 

0784: $PLAYER_CHAR  0  0  2070D: rebuild_player $PLAYER_CHAR

 

 

other way is to store first the current skin with

 

0793: save_player_clothes

 

then change clothes and later you can rebuild CJ to the saved skin

 

0794: restore_player_clothes070D: rebuild_player $PLAYER_CHAR

 

Link to comment
Share on other sites

thread 'LUNAR'              while [email protected] = -229907 // +32bits; next 4 bytes/chars in the last keypresses block008B: [email protected] = &0([email protected],1i)0085: [email protected] = [email protected]        div([email protected], 0x100)mul([email protected], 0x100)0062: [email protected] -= [email protected]               // 5th char is the last in the second block:if [email protected] == 0x4C                 // test if L is the 5th pressed keythen                          [email protected] = -229908  008B: [email protected] = &0([email protected],1i)  if [email protected] == 0x554E4152       // test if player also typed UNAR after that  then      03E5: text_box 'CHEAT1' // Cheat activated    TYype here the code you want to run when the cheat is typed.  end    endwait 1000end

 

 

Its the script i use sometimes to make custome Cheat Codes, Seeman explained it more . In My Sig you can go to Mem Hacking and see it.

Your sig is disabled

Oh Really orly.gif

 

Well you can see my PROFILE where it is displayed.

Yl8KS.jpg
Link to comment
Share on other sites

  • 2 years later...
player 0 pressed_key 49 player 0 pressed_key 50 player 0 pressed_key 51 player 0 pressed_key 52 

 

ok sorry for the bump lol.gif but i have a valid question: what buttons do those keys correspond to? i cant figure it out so help me god. i only know the keys 0-19 so could somebody please tell me all of the other keys and what they mean? cookie.gifcookie.gifcookie.gif for whoever tells me first.

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.