IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 {NEED HELP} Clothes code doesn't work

 
SamJohnson98  
Posted: Sunday, Aug 12 2012, 16:02
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jan 13, 2012

XXXXX



Hey guys, I need help. I made a code to change into gimp suit. But I don't know how to change back to normal. This is my code.

CODE
// This file was decompiled using sascm.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 26.6.2012

{$VERSION 3.1.1000}
{$CLEO .cs}

//-------------MAIN---------------
03A4: name_thread 'GIMP'

:GIMP_11
0001: wait 0 ms
00D6: if and
0256:   player $PLAYER_CHAR defined
044B:   actor $PLAYER_ACTOR on_foot
80DF:   not actor $PLAYER_ACTOR driving
004D: jump_if_false @GIMP_11
00D6: if
0ADC:    test_cheat "GIMP"
004D: jump_if_false @GIMP_11
03E5: show_text_box 'CHEAT1'  // Cheat activated
087B: set_player $PLAYER_CHAR clothes_texture "GIMPLEG" model "GIMPLEG" body_part 17
070D: rebuild_player $PLAYER_CHAR
0002: jump @GIMP_11


Any help would be appreciated. smile.gif rampage_ani.gif rampage_ani.gif rampage_ani.gif rampage_ani.gif rampage_ani.gif

PM
  Top
 

 
SamJohnson98  
Posted: Sunday, Aug 12 2012, 16:03
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jan 13, 2012

XXXXX



The title is wrong. I forgot to change it and I don't know how to edit the title. Sorry.
PM
  Top
 

 
arijitsen  
Posted: Sunday, Aug 12 2012, 16:16
Quote Post


It's show time
Group Icon
Group: Members
Joined: Jun 19, 2012

ia.gif

XXXXX



Here it is:
CODE
{$CLEO .cs}

//-------------MAIN---------------
03A4: name_thread 'GIMP'

:GIMP_11
0001: wait 0 ms
00D6: if and
0256:   player $PLAYER_CHAR defined
044B:   actor $PLAYER_ACTOR on_foot
80DF:   not actor $PLAYER_ACTOR driving
004D: jump_if_false @GIMP_11
00D6: if
0ADC:    test_cheat "GIMP"
004D: jump_if_false @GIMP_11
03E5: show_text_box 'CHEAT1'  // Cheat activated
0793: save_player_clothes
087B: set_player $PLAYER_CHAR clothes_texture "gimpleg" model "gimpleg" body_part 17
070D: rebuild_player $PLAYER_CHAR
0002: jump @GIMP_12

:GIMP_12
0001: wait 0 ms
00D6: if and
0256:   player $PLAYER_CHAR defined
044B:   actor $PLAYER_ACTOR on_foot
80DF:   not actor $PLAYER_ACTOR driving
00D6: if
0ADC:    test_cheat "NOM"
004D: jump_if_false @GIMP_12
03E5: show_text_box 'CHEAT1'  // Cheat activated
0794: restore_player_clothes
070D: rebuild_player $PLAYER_CHAR
0002: jump @GIMP_11


This post has been edited by arijitsen on Sunday, Aug 12 2012, 16:32
Users WebsitePM
  Top
 

 
SilentPL  
Posted: Sunday, Aug 12 2012, 16:32
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




There is a better way. Just use

CODE
0784: set_player $PLAYER_CHAR textureCRC 0 modelCRC 0 bodypart 17

to take off the suit.
Users WebsitePMMSNXbox Live
  Top
 

 
SamJohnson98  
Posted: Monday, Aug 13 2012, 14:30
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jan 13, 2012

XXXXX



@SilentPL how do I use the code? Please help.
@arijitsen Thanks, but I didn't use it yet. Thanks though.
PM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG