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!

GTA VC - Spawn Pedestrians


FrozenPanda
 Share

Recommended Posts

FrozenPanda

Hello,

 

I remember using something which would spawn pedestrians anywhere I want, and then keys to change the pedestrian to the one I want. So basically I could have spawned any pedestrian anywhere I want, but I forgot what I used. Does anyone know or have an alternative/script?

 

Thanks a lot, I've been looking for a month!

Link to comment
Share on other sites

{$CLEO}
:MARKER_AT_ACTOR_2threads// press crouch key
wait 5000



:MARCTOR_1_00
thread 'MARCTO1'

:MARCTOR_1_01
wait  0
if
0256: player $PLAYER_CHAR defined
jf @MARCTOR_1_01
if
05EE:  key_pressed 71// ------------------------------ 	g key  
jf @MARCTOR_1_01
$ONMISSION =  1
0247: request_model 89 
0247: request_model 90 
0247: request_model #PGa 
0247: request_model #PGb 
0247: request_model #SGa 
0247: request_model #SGb 
0247: request_model #BMODK

:MARCTOR_1_02
wait  0
if  and
0248:   model 89 available 
0248:   model 90 available 
0248:   model #PGa available 
0248:   model #PGb available 
0248:   model #SGa available 
0248:   model #SGb available 
0248:   model #BMODK available
jf @MARCTOR_1_02

04C4: create_coordinate 11@ 12@ 13@ from_actor $PLAYER_ACTOR offset -2.0 2.5 0.2
009A: 1@ = create_actor 4 #PGa at 11@ 12@ 13@
04C4: create_coordinate 11@ 12@ 13@ from_actor $PLAYER_ACTOR offset 0.0 2.5 0.2
009A: 2@ = create_actor 4 #PGb at 11@ 12@ 13@
04C4: create_coordinate 11@ 12@ 13@ from_actor $PLAYER_ACTOR offset 2.0 2.5 0.2
009A: 3@ = create_actor 4 89 at 11@ 12@ 13@
04C4: create_coordinate 11@ 12@ 13@ from_actor $PLAYER_ACTOR offset -2.0 4.5 0.2
009A: 4@ = create_actor 4 90 at 11@ 12@ 13@
04C4: create_coordinate 11@ 12@ 13@ from_actor $PLAYER_ACTOR offset 0.0 4.5 0.2
009A: 5@ = create_actor 4 #SGb at 11@ 12@ 13@
04C4: create_coordinate 11@ 12@ 13@ from_actor $PLAYER_ACTOR offset 2.0 4.5 0.2
009A: 6@ = create_actor 4 #SGa at 11@ 12@ 13@
0249: release_model 89 
0249: release_model 90 
0249: release_model #PGa 
0249: release_model #PGb 
0249: release_model #SGa 
0249: release_model #SGb 
0249: release_model #BMODK


:MARCTOR_1_05
wait  0
if
0256: player $PLAYER_CHAR defined
jf @MARCTOR_1_16

if
0118:   actor 1@ dead
jf @MARCTOR_1_05




:MARCTOR_1_16
01C2: remove_references_to_actor 1@ // Like turning an actor into a random pedestrian 
01C2: remove_references_to_actor 2@
01C2: remove_references_to_actor 3@
01C2: remove_references_to_actor 4@ // Like turning an actor into a random pedestrian 
01C2: remove_references_to_actor 5@
01C2: remove_references_to_actor 6@
$ONMISSION =  0
jump @MARCTOR_1_01

 

  • Like 1
Link to comment
Share on other sites

  • 5 months later...
FrozenPanda

I see, but lets say I just want to spawn a certain ped, lets say CHEF

and I want to spawn 10 of them. I also dont want them to stand still if possible. 

 

I tried your script, it spawns the gangs after I press g only once, when i try again nothing happens

Link to comment
Share on other sites

I gave you a template

Now it's your job to work out further options or post here if it should be a request

 

 

51 minutes ago, FrozenPanda said:

I also dont want them to stand still if possible.

and what should they do? should they jump into water or what?

 

 

Quote

wafter I press g only once, when i try again nothing happens

did you said anything before about press key again?

 

 

Next time, when you ask for help, please post your current script

 

  • Like 1
Link to comment
Share on other sites

FrozenPanda
Posted (edited)

Oh sorry. I will post it here and in the requests section too:

 

From what you made: I would like to be able to change the pedestrian to any type I want, as here https://libertycity.net/files/gta-vice-city/85085-gta-vc-peds-spawn.html and a video https://www.youtube.com/watch?v=otqepbpOzAo

If its possible to choose spawn amount in game, that would be wonderful! Otherwise I could edit the script to choose the amount of time I want the peds to spawn.

 

Example, i want a 20 CHEF's to spawn at once. They would start walking normally as normal peds, like in the script above. I want this to be repeatable, if I press a key again, it spawns 20 more :)

Edited by FrozenPanda
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.