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

    2. News

    1. Red Dead Redemption 2

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

      1. Gameplay
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

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

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. 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. Forum Support

    2. Site Suggestions

SMACKED!

Crash due to cleo file.

Recommended Posts

SMACKED!
thread 'SKIN'
repeat
wait 0 until Player.Defined($PLAYER_CHAR)
repeat
wait 0 until
0AB0:   key_pressed 104
023C: load_special_actor 'SMOKEV' as 1 // models 290-299 
repeat
wait 0 until 
023D:   special_actor 1 loaded
09C7: change_player $PLAYER_CHAR model_to #SPECIAL01 
Actor.PutAt($PLAYER_ACTOR, 2520.222, -1272.839, 34.885)
Actor.Angle($PLAYER_ACTOR) = 88.4876
end_thread 

I posted about this a time ago but I've erased everything and now I'm wanting to start again, so I made this script and put it into the cleo folder and everything but when I load a game or start a brand new the game suddenly closes.

 

What is it?

Share this post


Link to post
Share on other sites
Sanmodder

thread 'SKIN'

repeat
repeat
wait 0 
until if Player.Defined(0)
until if 0AB0:   key_pressed 104
023C: load_special_actor 'SMOKEV' as 1 // models 290-299                            
038B: load_requested_models                                                                     
while 823D:   not special_actor 1 loaded                                                        
    wait 0                                                                                 
end                                                                                             
09C7: change_player 0 model_to #SPECIAL01                                                       
070D: rebuild_player 0                                                                          
0296: unload_special_actor 1                                        
Actor.PutAt($PLAYER_ACTOR, 2520.222, -1272.839, 34.885)
Actor.Angle($PLAYER_ACTOR) = 88.4876
end_thread 

how this script with errors you compiled ?

Share this post


Link to post
Share on other sites
In45do

You forgot to add {$CLEO .cs} at the beginning of the script. Without it, Sanny will compile into SCM file which is replacing main script inside GTA SA/data/script folder.

Share this post


Link to post
Share on other sites
SMACKED!

didn't read sanmoder's code

Edited by SMACKED!
didn't read sanmoder's code

Share this post


Link to post
Share on other sites
SMACKED!
2 hours ago, Sanmodder said:

thread 'SKIN'

repeat
repeat
wait 0 
until if Player.Defined(0)
until if 0AB0:   key_pressed 104
023C: load_special_actor 'SMOKEV' as 1 // models 290-299                            
038B: load_requested_models                                                                     
while 823D:   not special_actor 1 loaded                                                        
    wait 0                                                                                 
end                                                                                             
09C7: change_player 0 model_to #SPECIAL01                                                       
070D: rebuild_player 0                                                                          
0296: unload_special_actor 1                                        
Actor.PutAt($PLAYER_ACTOR, 2520.222, -1272.839, 34.885)
Actor.Angle($PLAYER_ACTOR) = 88.4876
end_thread 

 how this script with errors you compiled ?

This made it work. Thanks! Might you wanna tell me what did I do wrong in here? I'm trying to learn.

 

By the way, how do I change the player's walkstyle? I've got to know that I have to play with advanced tricks.

Share this post


Link to post
Share on other sites
Sanmodder
//walk style hack beta
{$CLEO .cs}
0000: nop

var
[email protected]:longstring         
[email protected]:longstring
end
{IFP "ped"}

{"WALK_DRUNK" "WALK_armed" "WALK_civi" "WALK_csaw" "WALK_drunk" "WALK_fat"
"WALK_fatold" "WALK_gang1" "WALK_gang2" "WALK_old" "WALK_player" "WALK_rocket"
"WALK_shuffle" "Walk_Wuzi" "woman_run" "WOMAN_runbusy" "WOMAN_runfatold"
"woman_runpanic" "WOMAN_runsexy" "WOMAN_walkbusy" "WOMAN_walkfatold"
"WOMAN_walknorm" "WOMAN_walkold" "WOMAN_walkpro" "WOMAN_walksexy"
"WOMAN_walkshop"}
          
[email protected] = "WOMAN_WALKPRO"          
[email protected] = "WOMAN_RUNSEXY"         
:NONAME_2A
wait 50 
if 
   Player.Defined(0)
jf @NONAME_2A 
0494: get_joystick 0 direction_offset_to [email protected] [email protected] [email protected] [email protected] //move
if or
  [email protected] > 0 
  0 > [email protected] 
  [email protected] > 0 
  0 > [email protected] 
jf @NONAME_10D 
if 
80E1:   not player 0 pressed_key 16 
jf @NONAME_C4 
//0605: actor $PLAYER_ACTOR perform_animation [email protected] IFP "PED" framedelta 4.0 loop 0 lockX 1 lockY 1 lockF 0 time -1 
//0A1A: actor $PLAYER_ACTOR perform_walk_animation [email protected] IFP "PED" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 1 -1 ms // versionC 
jump @NONAME_10D 

:NONAME_C4
if 
00E1:   player 0 pressed_key 16 //space
jf @NONAME_10D 
0605: actor $PLAYER_ACTOR perform_animation [email protected] IFP "PED" framedelta 4.0 loop 0 lockX 1 lockY 1 lockF 0 time -1 
0A1A: actor $PLAYER_ACTOR perform_walk_animation [email protected] IFP "PED" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 1 -1 ms // versionC 

:NONAME_10D
wait 0 
jump @NONAME_2A

 

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

  • 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.