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

 change cj's skin to claude but game crashes

 
Saint Burak  
Posted: Sunday, Jul 8 2012, 13:01
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Nov 4, 2010

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 'MINIGUN'

:MINIGUN_11
wait 150
if
  Player.Defined($PLAYER_CHAR)
jf @MINIGUN_11
if
0AB0:   key_pressed 8
jf @MINIGUN_11
023C: load_special_actor 'CLAUDE' as 1 // models 290-299
Model.Load(#SHOVEL)
if and
  Model.Available(#SHOVEL)
023D:   special_actor 1 loaded
jf @MINIGUN_11
01B2: give_actor $PLAYER_ACTOR weapon 6 ammo 1 // Load the weapon model before using this
09C7: change_player $PLAYER_CHAR model_to #SPECIAL01
0296: unload_special_actor 1
jump @MINIGUN_11


what's wrong?

lol my scm file is gone biggrin.gif

This post has been edited by Saint Burak on Sunday, Jul 8 2012, 13:06
PM
  Top
 

 
Bad.boy!  
Posted: Sunday, Jul 8 2012, 13:35
Quote Post


SA modder
Group Icon
Group: Members
Joined: Jun 20, 2010

nl.gif

XXXXX



Maybe because you're looping the load part, try this:
CODE
{$CLEO .cs}

thread 'MINIGUN'

:MINIGUN
wait 0
if and // "if and"  won't hurt you
   Player.Defined($PLAYER_CHAR)
   0AB0:   key_pressed 8
jf @MINIGUN
023C: load_special_actor 'CLAUDE' as 1 // models 290-299
Model.Load(#SHOVEL)

:MINIGUN_2
wait 0
if and
   Model.Available(#SHOVEL)
   023D:   special_actor 1 loaded
jf @MINIGUN_2
01B2: give_actor $PLAYER_ACTOR weapon 6 ammo 1
09C7: change_player $PLAYER_CHAR model_to #SPECIAL01
0296: unload_special_actor 1
0249: release_model #SHOVEL // <-- you forgot this
jump @MINIGUN
PM
  Top
 

 
Saint Burak  
Posted: Sunday, Jul 8 2012, 13:45
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Nov 4, 2010

XXXXX



no no bro I've solved my game crashes because I forgot write "{cleo .cs}" in one of my cleos and it saves scm to my main scm biggrin.gif
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