Quantcast

Jump to content

» «
Photo

How to Make No Pedestrians & Cops (Both on Foot and With Cars)?

2 replies to this topic
Forsas Saltis
  • Forsas Saltis

    Povke (my earlier nickname)

  • BUSTED!
  • Joined: 26 Dec 2010
  • Lithuania

#1

Posted 05 October 2013 - 07:44 PM Edited by povke, 05 October 2013 - 07:45 PM.

How can I make this in GTA: San Andreas? I know how to disable cops on foot, but how can I do that?


daniHCF96
  • daniHCF96

    Sanit

  • Members
  • Joined: 21 Sep 2013
  • Spain

#2

Posted 05 October 2013 - 08:53 PM Edited by daniHCF96, 05 October 2013 - 09:40 PM.

I know there's a section in the main.scm, in Mission 0, that sets the zone in which peds walk. The script is something like this:

 

 

0767: set_zone 'MARKST' popcycle_group_for_peds_and_cars_to 14  // Market Station
0767: set_zone 'UNITY' popcycle_group_for_peds_and_cars_to 5  // Unity Station
0767: set_zone 'LAIR1' popcycle_group_for_peds_and_cars_to 16
0767: set_zone 'LAIR2A' popcycle_group_for_peds_and_cars_to 16
0767: set_zone 'LAIR2B' popcycle_group_for_peds_and_cars_to 16
0767: set_zone 'LBAG1' popcycle_group_for_peds_and_cars_to 19
0767: set_zone 'LBAG2' popcycle_group_for_peds_and_cars_to 19
0767: set_zone 'LBAG3' popcycle_group_for_peds_and_cars_to 19
0767: set_zone 'BLUF1A' popcycle_group_for_peds_and_cars_to 10
0767: set_zone 'BLUF2' popcycle_group_for_peds_and_cars_to 10
0767: set_zone 'SUN1' popcycle_group_for_peds_and_cars_to 2
0767: set_zone 'SUN1' popcycle_group_for_peds_and_cars_to 2
0767: set_zone 'SUN3A' popcycle_group_for_peds_and_cars_to 2
0767: set_zone 'SUN3B' popcycle_group_for_peds_and_cars_to 2
0767: set_zone 'SUN3C' popcycle_group_for_peds_and_cars_to 2
0767: set_zone 'SUN4' popcycle_group_for_peds_and_cars_to 2
076C: set_zone 'SUN1' gang 1 density_to 30
076C: set_zone 'SUN1' gang 1 density_to 30
076C: set_zone 'SUN3A' gang 1 density_to 30
076C: set_zone 'SUN3B' gang 1 density_to 30
076C: set_zone 'SUN3C' gang 1 density_to 30
076C: set_zone 'SUN4' gang 1 density_to 30

...

...

...

...

...

...

...

 

The word between ' ' sets the zone, and the last parameter presumably refers to the type of ped. If you want to delete all peds then you should delete all these lines. There are still more lines underneath, a lot more...

 

I don't know much on coding, I've started a few weeks ago so it will be better to wait for more feebdack ;)


Jack
  • Jack

    wanted level modifications

  • Feroci Racing
  • Joined: 06 Dec 2011
  • Serbia

#3

Posted 06 October 2013 - 10:57 AM

01EB: set_car_density_multiplier 0.0
03DE: set_ped_density_multiplier 0.0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users