Теперь в Vice City в разное время суток разное число народу и машин на улицах
Скрипт писался при помощи CodeCreator'а
:TimeDensity
0001: wait 0 ms
0004: $CAR_DENSITY_BLOCKED = 0 ;; integer values
0004: $PED_DENSITY_BLOCKED = 0 ;; integer values
00BF: store current time to $denhou (hours) and $denmin (minutes)
;time;:Forhour[1]
;time;0001: wait 0 ms
;time;00D6: if 0
;time;0038: $denhou == [1] ;; integer values
;time;004D: jump_if_false ЈЈForhour[2]
;time;0001: wait 0 ms
;time;00D6: if 0
;time;0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
;time;004D: jump_if_false ЈЈForhourC[1]
;time;0001: wait 0 ms
;time;
;time;01EB: set car density to 1.0
;time;
;time;:ForhourC[1]
;time;0001: wait 0 ms
;time;00D6: if 0
;time;0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
;time;004D: jump_if_false ЈЈTimeDensity
;time;
;time;03DE: set pedestrians density multiplier to 1.0
;time;
;time;:PauseInHour[1]
;time;0001: wait 0 ms
;time;00BF: store current time to $denhou (hours) and $denmin (minutes)
;time;00D6: if 0
;time;8038: NOT $denhou == [1] ;; integer values
;time;004D: jump_if_false ЈЈPauseInHour[1]
;time;0001: wait 0 ms
;time;0002: jump ЈЈTimeDensity
:Forhour0
0001: wait 0 ms
00D6: if 0
0038: $denhou == 0 ;; integer values
004D: jump_if_false ЈЈForhour1
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC0
0001: wait 0 ms
01EB: set car density to .3
:ForhourC0
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour0
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 0 ;; integer values
004D: jump_if_false ЈЈPauseInHour0
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour1
0001: wait 0 ms
00D6: if 0
0038: $denhou == 1 ;; integer values
004D: jump_if_false ЈЈForhour2
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC1
0001: wait 0 ms
01EB: set car density to .3
:ForhourC1
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 0.0
:PauseInHour1
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 1 ;; integer values
004D: jump_if_false ЈЈPauseInHour1
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour2
0001: wait 0 ms
00D6: if 0
0038: $denhou == 2 ;; integer values
004D: jump_if_false ЈЈForhour3
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC2
0001: wait 0 ms
01EB: set car density to .3
:ForhourC2
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 0.0
:PauseInHour2
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 2 ;; integer values
004D: jump_if_false ЈЈPauseInHour2
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour3
0001: wait 0 ms
00D6: if 0
0038: $denhou == 3 ;; integer values
004D: jump_if_false ЈЈForhour4
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC3
0001: wait 0 ms
01EB: set car density to 0.1
:ForhourC3
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 0.0
:PauseInHour3
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 3 ;; integer values
004D: jump_if_false ЈЈPauseInHour3
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour4
0001: wait 0 ms
00D6: if 0
0038: $denhou == 4 ;; integer values
004D: jump_if_false ЈЈForhour5
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC4
0001: wait 0 ms
01EB: set car density to 0.0
:ForhourC4
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 0.0
:PauseInHour4
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 4 ;; integer values
004D: jump_if_false ЈЈPauseInHour4
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour5
0001: wait 0 ms
00D6: if 0
0038: $denhou == 5 ;; integer values
004D: jump_if_false ЈЈForhour6
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC5
0001: wait 0 ms
01EB: set car density to 0.1
:ForhourC5
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 0.0
:PauseInHour5
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 5 ;; integer values
004D: jump_if_false ЈЈPauseInHour5
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour6
0001: wait 0 ms
00D6: if 0
0038: $denhou == 6 ;; integer values
004D: jump_if_false ЈЈForhour7
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC6
0001: wait 0 ms
01EB: set car density to 0.3
:ForhourC6
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour6
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 6 ;; integer values
004D: jump_if_false ЈЈPauseInHour6
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour7
0001: wait 0 ms
00D6: if 0
0038: $denhou == 7 ;; integer values
004D: jump_if_false ЈЈForhour8
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC7
0001: wait 0 ms
01EB: set car density to 0.3
:ForhourC7
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour7
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 7 ;; integer values
004D: jump_if_false ЈЈPauseInHour7
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour8
0001: wait 0 ms
00D6: if 0
0038: $denhou == 8 ;; integer values
004D: jump_if_false ЈЈForhour9
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC8
0001: wait 0 ms
01EB: set car density to 0.3
:ForhourC8
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour8
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 8 ;; integer values
004D: jump_if_false ЈЈPauseInHour8
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour9
0001: wait 0 ms
00D6: if 0
0038: $denhou == 9 ;; integer values
004D: jump_if_false ЈЈForhour10
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC9
0001: wait 0 ms
01EB: set car density to 1.0
:ForhourC9
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour9
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 9 ;; integer values
004D: jump_if_false ЈЈPauseInHour9
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour10
0001: wait 0 ms
00D6: if 0
0038: $denhou == 10 ;; integer values
004D: jump_if_false ЈЈForhour11
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC10
0001: wait 0 ms
01EB: set car density to 1.0
:ForhourC10
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour10
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 10 ;; integer values
004D: jump_if_false ЈЈPauseInHour10
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour11
0001: wait 0 ms
00D6: if 0
0038: $denhou == 11 ;; integer values
004D: jump_if_false ЈЈForhour12
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC11
0001: wait 0 ms
01EB: set car density to 1.0
:ForhourC11
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour11
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 11 ;; integer values
004D: jump_if_false ЈЈPauseInHour11
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour12
0001: wait 0 ms
00D6: if 0
0038: $denhou == 12 ;; integer values
004D: jump_if_false ЈЈForhour13
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC12
0001: wait 0 ms
01EB: set car density to 1.0
:ForhourC12
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour12
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 12 ;; integer values
004D: jump_if_false ЈЈPauseInHour12
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour13
0001: wait 0 ms
00D6: if 0
0038: $denhou == 13 ;; integer values
004D: jump_if_false ЈЈForhour14
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC13
0001: wait 0 ms
01EB: set car density to 1.0
:ForhourC13
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour13
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 13 ;; integer values
004D: jump_if_false ЈЈPauseInHour13
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour14
0001: wait 0 ms
00D6: if 0
0038: $denhou == 14 ;; integer values
004D: jump_if_false ЈЈForhour15
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC14
0001: wait 0 ms
01EB: set car density to 0.3
:ForhourC14
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour14
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 14 ;; integer values
004D: jump_if_false ЈЈPauseInHour14
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour15
0001: wait 0 ms
00D6: if 0
0038: $denhou == 15 ;; integer values
004D: jump_if_false ЈЈForhour16
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC15
0001: wait 0 ms
01EB: set car density to 0.3
:ForhourC15
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour15
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 15 ;; integer values
004D: jump_if_false ЈЈPauseInHour15
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour16
0001: wait 0 ms
00D6: if 0
0038: $denhou == 16 ;; integer values
004D: jump_if_false ЈЈForhour17
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC16
0001: wait 0 ms
01EB: set car density to 0.3
:ForhourC16
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour16
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 16 ;; integer values
004D: jump_if_false ЈЈPauseInHour16
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour17
0001: wait 0 ms
00D6: if 0
0038: $denhou == 17 ;; integer values
004D: jump_if_false ЈЈForhour18
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC17
0001: wait 0 ms
01EB: set car density to 1.0
:ForhourC17
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour17
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 17 ;; integer values
004D: jump_if_false ЈЈPauseInHour17
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour18
0001: wait 0 ms
00D6: if 0
0038: $denhou == 18 ;; integer values
004D: jump_if_false ЈЈForhour19
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC18
0001: wait 0 ms
01EB: set car density to 1.0
:ForhourC18
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour18
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 18 ;; integer values
004D: jump_if_false ЈЈPauseInHour18
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour19
0001: wait 0 ms
00D6: if 0
0038: $denhou == 19 ;; integer values
004D: jump_if_false ЈЈForhour20
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC19
0001: wait 0 ms
01EB: set car density to 1.0
:ForhourC19
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour19
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 19 ;; integer values
004D: jump_if_false ЈЈPauseInHour19
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour20
0001: wait 0 ms
00D6: if 0
0038: $denhou == 20 ;; integer values
004D: jump_if_false ЈЈForhour21
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC20
0001: wait 0 ms
01EB: set car density to 1.0
:ForhourC20
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour20
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 20 ;; integer values
004D: jump_if_false ЈЈPauseInHour20
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour21
0001: wait 0 ms
00D6: if 0
0038: $denhou == 21 ;; integer values
004D: jump_if_false ЈЈForhour22
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC21
0001: wait 0 ms
01EB: set car density to 1.0
:ForhourC21
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour21
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 21 ;; integer values
004D: jump_if_false ЈЈPauseInHour21
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour22
0001: wait 0 ms
00D6: if 0
0038: $denhou == 22 ;; integer values
004D: jump_if_false ЈЈForhour23
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC22
0001: wait 0 ms
01EB: set car density to .3
:ForhourC22
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour22
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 22 ;; integer values
004D: jump_if_false ЈЈPauseInHour22
0001: wait 0 ms
0002: jump ЈЈTimeDensity
:Forhour23
0001: wait 0 ms
00D6: if 0
0038: $denhou == 23 ;; integer values
004D: jump_if_false ЈЈForhour0
0001: wait 0 ms
00D6: if 0
0038: $CAR_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈForhourC23
0001: wait 0 ms
01EB: set car density to .3
:ForhourC23
0001: wait 0 ms
00D6: if 0
0038: $PED_DENSITY_BLOCKED == 0 ;; integer values
004D: jump_if_false ЈЈTimeDensity
03DE: set pedestrians density multiplier to 1.0
:PauseInHour23
0001: wait 0 ms
00BF: store current time to $denhou (hours) and $denmin (minutes)
00D6: if 0
8038: NOT $denhou == 23 ;; integer values
004D: jump_if_false ЈЈPauseInHour23
0001: wait 0 ms
0002: jump ЈЈTimeDensity