Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      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

Happy Holidays from the GTANet team!

CJ Sit down mod


Black Ghost
 Share

Recommended Posts

Black Ghost

Hey all,,

 

I was looking for some thing to learn (becuse i dont know coding I want to learn barf8bd.gif ) and I find this posted in Aug 12 2005 mercie_blink.gif and it great look at it

 

 

;Place this by the other 004Fs in MAIN004F: create_thread ££CJsitt;Place this further down by the other threads:CJsitt0001: wait $DEFAULT_WAIT_TIME ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££CJsittOmstart0004: $CJsitter =  0;; integer values00D6: if  102A0:   actor $PLAYER_ACTOR stopped00E1:   key_pressed  0  19004D: jump_if_false ££CJsittOmstart04ED: load_animation "BEACH"04ED: load_animation "SUNBATHE":CJsittLastAnim00D6: if  184EE:   NOT   animation "BEACH" loaded84EE:   NOT   animation "SUNBATHE" loaded004D: jump_if_false ££CJsittende0001: wait  0 ms0002: jump ££CJsittLastAnim:CJsittende0812: unknown_action_sequence $PLAYER_ACTOR "PARKSIT_M_IN" "SUNBATHE"  4.0  0  0  0  0 -10001: wait  2000 ms 0812: unknown_action_sequence $PLAYER_ACTOR "PARKSIT_M_LOOP" "BEACH"  4.0  1  0  0  0 -10004: $CJsitter =  1;; integer values015D: set_gamespeed  5.0:CJstå0001: wait $DEFAULT_WAIT_TIME ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££CJstå00D6: if  10038:   $CJsitter ==  1;; integer values00E1:   key_pressed  0  19004D: jump_if_false ££CJstå015D: set_gamespeed  1.00605: unknown_action_sequence $PLAYER_ACTOR "PARKSIT_M_OUT" "SUNBATHE"  4.0  0  0  0  0 -104EF: release_animation "BEACH"04EF: release_animation "SUNBATHE"0001: wait  2000 ms:CJsittOmstart0002: jump ££CJsitt

 

 

It can make cj set down !!!!

 

and this posted by Toby

 

I couldn't find any code that checked for benches, etc. near CJ, so I simply make him sit like peds do on porches. It kinda works on flat ground too, even though small elevations like stairs or porches are better if you want it to look realistic.

 

Use Barton's Mission Builder to add these codes in your main.scm:

then the code i just show you

 

How to use it:

 

Press the "look behind" button (initially NUM1) while stopped to sit down. The gameplay will then increase to 5x normal speed. Press the same button while sitting to stand up, and the gameplay goes back to normal. Other changes f.ex. in stats can also be added, I might look at that later...

 

I haven't tested it much yet, but the only glitch I've found so far is that CJ sits down underwater without drowning if he's standing on the bottom. I don't know if there is a way to prevent this (code 0965 doesn't work unless he's floating), but it doesn't really matter. He'll do that if you crouch down normally anyway.

 

Ok but when i install it with Barton's Mission Builder and compile it this show up

user posted image

 

so can any one help me with it ??

Link to comment
Share on other sites

 

Ok but when i install it with Barton's Mission Builder and compile it this show up

user posted image

 

so can any one help me with it ??

 

The massage means that you have an invalid code line in your main

and this is the invalide line:

Place this by the other 004Fs in MAIN

 

your post exemble includes this line

 

;Place this by the other 004Fs in MAIN004F: create_thread ££CJsitt

 

but it is set as comment, it have a semicolon infront ; and so it is valid

 

Maybe you have this line on an other place of your main without semicolon

search in your main for

Place this by the other 004Fs in MAIN

and delete it

Link to comment
Share on other sites

search for

0004:

in the main, then add

004F: create_thread ££CJsitt

underneath all the004Fs. Then scroll down to find some of the other threads, then add the rest of the script.

Link to comment
Share on other sites

Black Ghost

thanxs man you the best [ but i already did it ] but thanxs for trying you help biggrin.gif

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.