Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      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

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

Spawning peds inside interior


Sazet_rey
 Share

Recommended Posts

Guys, i'm new in GTA modding, i'm a noob........

 

Here's a request.....can anybody pls help me out n one matter???

 

I want to place a ped inside CJ's mom's house, so that whenever i enter the house i can see that ped.........

 

say i want to place the ped model SBFYSTR inside the house, how can i do that....

 

i know i need to edit main.scm using San Andres Mission builder....but i dnt knw the codes.....

 

can anybody pls help me out.???

 

i will be highly grateful.........

Link to comment
Share on other sites

 

{$CLEO .cs}thread "TEST"0A95: enable_thread_savingModel.Load(#SBFYSTR ):LOAD_MODEL_CHECKwait 0ifModel.Available(#SBFYSTR )jf @LOAD_MODEL_CHECKActor.Create([email protected], CIVMALE, #SBFYSTR , 2494.6135, -1701.275, 1014.4422)04BB: select_interior 304FA: reset_interior 3 colors04E4: unknown_refresh_game_renderer_at 2494.6135 -1701.275 0860: link_actor [email protected] to_interior 3Actor.PutAt([email protected], 2494.6135, -1701.275, 1014.4422)0A93: end_custom_thread

 

 

I am not sure if is that actor CIVMALE...

But anyway I tested it and actor shows up but when you save game ,and load your saved game actor is not there... and sometimes he just dissapears when player go out and back inside ( the house )....

 

Oh yeah and I forgot:

 

Model.Destroy (#SBFYSTR)

 

Edited by Ify24
Link to comment
Share on other sites

It's extrange that the actor disappears, don't you think? You enabled thread saving, so I don't know what happens...

Link to comment
Share on other sites

@Ify24

 

thanx buddy, but can u please tell me how to make it without using cleo???

 

i mean can i make it possible by editing main.scm and not using cleo??

Link to comment
Share on other sites

 

The code that he told you is for CLEO

 

 

 

 

yeah, i know that Ify24 has given me a cleo script..........

 

but i dnt want cleo script..........

 

is it possible without using cleo??

Link to comment
Share on other sites

is it possible without using cleo??

Yeah , of course it's possible...

But you will need to start a new game... and why do you want to code it in main.scm ????

Link to comment
Share on other sites

 

is it possible without using cleo??
Yeah , of course it's possible... But you will need to start a new game... and why do you want to code it in main.scm ????

 

actly my friend, i have made some modifications in my game.....like i have added SA Limit Adjuster, Weapon Limit Adjuster; i have added extra models( like i have plaecd the models of 6 girlfriends of CJ infront of Johnson's House, and also placed the pirate board of Hotel of Las Venturas infront of Grove street), then i have added extra cars, extra weapon pickups inside every buyable safehouse(so that you'll get weapon as gift when you buy a house colgate.gif)

 

but to make the weapon pickups i used to edit the main.scm

 

and then i faced a prob........

 

before editing main.scm, i once usde a cleo script..........

 

and then found that after using cleo, if i am editing main.scm........then the game is getting crashed.......but if i'm editing the main.scm without editing cleo, then its working perfectly....

 

thats why i want it in main.scm and not cleo.........

 

can u please tell me where to put the code(that u provided) in the main.scm??

 

and also will the code be exactly the same, or a bit different one???

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.