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

    1. Red Dead Redemption 2

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

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

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

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

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. 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. News

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
noalcohol

Go to an Interior

Recommended Posts

noalcohol

GTA SA

 

Hey, I didn't see any tutorial to go to an interior.

Please tell me the details! How to go to an interior, please! sad.gifsad.gifsad.gifsad.gif

Also give me example.

 

 

Edited by noalcohol

Share this post


Link to post
Share on other sites
TheSiggi

this is my 'teleport into Wuzis betshop script:

 

 

set this code in your script:

 

016A: fade 0 time 1000 

 

 

then, after it:

 

 

04BB: select_interior 1 

 

//you find a list of all interiors in sannybiulder help

 

and:

 

 

03CB: set_rendering_origin_at -2158.418 642.5994 1052.375 00A1: put_actor $PLAYER_ACTOR at -2158.418 642.5994 1052.375 0860: link_actor $PLAYER_ACTOR to_interior 1 0001: wait 500 ms 016A: fade 1 time 1000 

 

 

 

 

// 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---------------03A4: name_thread 'WUZIBET' 0001: wait 1000 ms :WUZIBET_160001: wait 0 ms 00D6: if 0256:   player $PLAYER_CHAR defined 004D: jump_if_false @WUZIBET_16 00D6: if and0038:   $ONMISSION == 0 80DF:   not actor $PLAYER_ACTOR driving 00FF:   actor $PLAYER_ACTOR sphere 1 in_sphere -2155.779 645.5449 52.3672 radius 1.0 1.0 1.0 on_foot 004D: jump_if_false @WUZIBET_16 016A: fade 0 time 1000  ////////////////////////////////////////////////////////////////////0001: wait 1000 ms 04BB: select_interior 1 /////////////////////////////////////////////////////////////////////04E4: unknown_refresh_game_renderer_at -2158.418 642.5994 ///////////////////////////////////////////03CB: set_rendering_origin_at -2158.418 642.5994 1052.375 ////////////////////////////////////////////////00A1: put_actor $PLAYER_ACTOR at -2158.418 642.5994 1052.375 ///////////////////////////////////////////0860: link_actor $PLAYER_ACTOR to_interior 1 ///////////////////////////////////////////////////////////////0001: wait 500 ms 016A: fade 1 time 1000 0007: [email protected] = -2157.389 0007: [email protected] = 635.4733 0007: [email protected] = 52.3828 0007: [email protected] = 269.5582 :WUZIBET_2200001: wait 0 ms 00D6: if 0256:   player $PLAYER_CHAR defined 004D: jump_if_false @WUZIBET_220 00D6: if 00FF:   actor $PLAYER_ACTOR sphere 1 in_sphere -2170.35 645.9218 1057.594 radius 1.0 1.0 1.0 on_foot 004D: jump_if_false @WUZIBET_220 016A: fade 0 time 1000 ////////////////////////////////////0001: wait 1000 ms 04BB: select_interior 0 ////////////////// no interior > normal //////////////////////////////////04E4: unknown_refresh_game_renderer_at [email protected] [email protected] 03CB: set_rendering_origin_at [email protected] [email protected] [email protected] 00A1: put_actor $PLAYER_ACTOR at [email protected] [email protected] [email protected] 0173: set_actor $PLAYER_ACTOR Z_angle_to [email protected] 0860: link_actor $PLAYER_ACTOR to_interior 0 0001: wait 500 ms 016A: fade 1 time 1000 0001: wait 1000 ms 0002: jump @WUZIBET_16 

 

Share this post


Link to post
Share on other sites
12jango

Nice, dude! Thanks for the hints! But I still don't understand 'bout these:

(If you don't mind, please answer icon14.gif )

* There are 4 0007 opcodes with local variables

 

0007: [email protected] = -2157.3890007: [email protected] = 635.47330007: [email protected] = 52.38280007: [email protected] = 269.5582

 

The numbers like 635.4733, 52.3828, and so on... What are they? Coordinates?

 

Thanks! icon14.gif

Edited by 12jango

Share this post


Link to post
Share on other sites
james227uk

They're the coords. Siggi stores them to a local (a waste IMO) then uses them after. I'd just use the simple way, type coords into the opcode.

Share this post


Link to post
Share on other sites
TheSiggi

@ james:

 

Yeah, I'm using this since I saw this way in a save script...

 

the WUZIBET script was improved by ZAZ ( he added the fading and the rendering )

 

 

Share this post


Link to post
Share on other sites
Dutchy3010

@ 12jango: That are very basic things to know when you want to code. I'll advise you to read some tutorials:

@ James: In an easy script, it is indeed possible that you don't use variables for these opcodes. But in more complex scripts, you can better use variables, because they are more organized than just the opcode. You can change them more easily. And, of course, you can use them more than once. That's why I prefer to use variables most of the times. However, you are absolutely right that in this script, he can use the number instead of variables, so that he won't waste a local. smile.gif Edited by Dutchy3010

Share this post


Link to post
Share on other sites
Dutchy3010

Can't believe that, Deji. I explained about the numbers and variables here, ZAZ explained it here and tommyworld10 explained it here.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

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