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

This section is for any editing topics that don't fit into any of the other forums, any questions on how to mod belong in Editing Discussion

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

 Help Modding

 Wearing stuff
 
syndrome994  
Posted: Tuesday, Jun 12 2012, 17:15
Quote Post


Player Hater
Group Icon
Group: Members
Joined: May 21, 2012

XXXXX



Hi, I have the cleo mod REDHLM that allows you to wear a helmet on a bike. The I had an idea, the idea was to make the same cleo but wearing a balaclava (for robbing). So i edited it, it works fine, it puts the balaclava, fine, but he cannot take off the balaclava!! Here you go the cleo script ( my modded version):


// 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---------------
thread 'HELM'

:HELM_11
04ED: load_animation "MISC"
wait 0
if
04EE: animation "MISC" loaded
else_jump @HELM_11

:HELM_42
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @HELM_211
if
$HELM1 == 0
else_jump @HELM_42
if
00E1: player $PLAYER_CHAR pressed_key 11
else_jump @HELM_42
wait 100
0605: actor $PLAYER_ACTOR perform_animation_sequence "PHONE_TALK" IFP_file "PED" 4.0 loop 0 0 0 0 time -1 // versionA
wait 750
0793: save_player_clothes
Player.SetClothes($PLAYER_CHAR, "BALACLAVA", "BALACLAVA", 16)
Player.Build($PLAYER_CHAR)
$HELM1 = 1
wait 750
04EF: release_animation "MISC"
jump @HELM_11

:HELM_211
if
$HELM1 == 1
else_jump @HELM_11
wait 0
if
00E1: player $PLAYER_CHAR pressed_key 10
else_jump @HELM_11
0605: actor $PLAYER_ACTOR perform_animation_sequence "PHONE_TALK" IFP_file "PED" 4.0 loop 0 0 0 0 time 360 // versionA
wait 360
0794: restore_player_clothes
Player.Build($PLAYER_CHAR)
$HELM1 = 0
wait 750
04EF: release_animation "MISC"
jump @HELM_11





Sooo, any ideas?
PS: sry for bad english
PM
  Top
 

 
fireguy109  
Posted: Wednesday, Jun 13 2012, 02:12
Quote Post


Chronic post editor.
Group Icon
Group: Leone Family Mafia
Joined: Aug 30, 2010

us.gif

XXXXX



CODE

// 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---------------
thread 'HELM'
$HELM1 = 0

:HELM_11
04ED: load_animation "MISC"
wait 0
if
04EE:   animation "MISC" loaded
else_jump @HELM_11

:HELM_42
wait 0
if
  Player.Defined($PLAYER_CHAR)
else_jump @HELM_11
if
 $HELM1 == 0
else_jump @HELM_211
if
00E1:   player $PLAYER_CHAR pressed_key 11
else_jump @HELM_42
wait 100
0605: actor $PLAYER_ACTOR perform_animation_sequence "PHONE_TALK" IFP_file "PED" 4.0 loop 0 0 0 0 time -1 // versionA
wait 750
0793: save_player_clothes
Player.SetClothes($PLAYER_CHAR, "BALACLAVA", "BALACLAVA", 16)
Player.Build($PLAYER_CHAR)
$HELM1 = 1
wait 750
04EF: release_animation "MISC"
jump @HELM_11

:HELM_211
if
 $HELM1 == 1
else_jump @HELM_11
wait 0
if
00E1:   player $PLAYER_CHAR pressed_key 10
else_jump @HELM_11
0605: actor $PLAYER_ACTOR perform_animation_sequence "PHONE_TALK" IFP_file "PED" 4.0 loop 0 0 0 0 time 360 // versionA
wait 360
0794: restore_player_clothes
Player.Build($PLAYER_CHAR)
$HELM1 = 0
wait 750
04EF: release_animation "MISC"
jump @HELM_11

icon14.gif
Users WebsitePMPlayStation Network
  Top
 

 
syndrome994  
Posted: Wednesday, Jun 13 2012, 13:28
Quote Post


Player Hater
Group Icon
Group: Members
Joined: May 21, 2012

XXXXX



QUOTE (fireguy109 @ Wednesday, Jun 13 2012, 02:12)
CODE

// 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---------------
thread 'HELM'
$HELM1 = 0

:HELM_11
04ED: load_animation "MISC"
wait 0
if
04EE:   animation "MISC" loaded
else_jump @HELM_11

:HELM_42
wait 0
if
  Player.Defined($PLAYER_CHAR)
else_jump @HELM_11
if
 $HELM1 == 0
else_jump @HELM_211
if
00E1:   player $PLAYER_CHAR pressed_key 11
else_jump @HELM_42
wait 100
0605: actor $PLAYER_ACTOR perform_animation_sequence "PHONE_TALK" IFP_file "PED" 4.0 loop 0 0 0 0 time -1 // versionA
wait 750
0793: save_player_clothes
Player.SetClothes($PLAYER_CHAR, "BALACLAVA", "BALACLAVA", 16)
Player.Build($PLAYER_CHAR)
$HELM1 = 1
wait 750
04EF: release_animation "MISC"
jump @HELM_11

:HELM_211
if
 $HELM1 == 1
else_jump @HELM_11
wait 0
if
00E1:   player $PLAYER_CHAR pressed_key 10
else_jump @HELM_11
0605: actor $PLAYER_ACTOR perform_animation_sequence "PHONE_TALK" IFP_file "PED" 4.0 loop 0 0 0 0 time 360 // versionA
wait 360
0794: restore_player_clothes
Player.Build($PLAYER_CHAR)
$HELM1 = 0
wait 750
04EF: release_animation "MISC"
jump @HELM_11

icon14.gif

Did you modify it?
PM
  Top
 

 
fireguy109  
Posted: Wednesday, Jun 13 2012, 22:39
Quote Post


Chronic post editor.
Group Icon
Group: Leone Family Mafia
Joined: Aug 30, 2010

us.gif

XXXXX



QUOTE (syndrome994 @ Wednesday, Jun 13 2012, 08:28)
Did you modify it?

Yes...

Did it work?
Users WebsitePMPlayStation Network
  Top
 

 

0 User(s) are reading this topic (0 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