TheArtemMaps
Новичок
- 27
- 0
помогите с этим скриптом. он почему то убирает маркеры с радара, маркеры входа в дома и т.д, которые очень нужны!
скрипт:
// This file was decompiled using SASCM.ini published on 2020-11-11
{$CLEO .cs}
script_name 'PETROL'
stream_custom_script "A3C.S"
:PETROL_21
wait 0
077E: get_active_interior_to $ACTIVE_INTERIOR
if and
Player.Defined($PLAYER_CHAR)
Actor.Driving($PLAYER_ACTOR)
84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
84A7: not actor $PLAYER_ACTOR driving_boat
89AE: not actor $PLAYER_ACTOR driving_train
jf @PETROL_21
if and
not Actor.DrivingVehicleType($PLAYER_ACTOR, #BIKE)
not Actor.DrivingVehicleType($PLAYER_ACTOR, #BMX)
not Actor.DrivingVehicleType($PLAYER_ACTOR, #MTBIKE)
not $ONMISSION == 1
$ACTIVE_INTERIOR == 0
jf @PETROL_21
if or
856E: not car 0@ defined
not Actor.InCar($PLAYER_ACTOR, 0@)
jf @PETROL_268
0@ = Actor.CurrentCar($PLAYER_ACTOR)
06A3: get_car 0@ mass_to 2@
0087: 5@ = 2@ // (float)
2@ *= 0.0005
2@ += 0.2703
5@ *= 0.0246
5@ += 7.6923
5@ /= 10.0
0092: 5@ = float 5@ to_integer
0093: 5@ = integer 5@ to_float
5@ *= 10.0
0087: 4@ = 5@ // (float)
4@ /= 4.0
0208: 10@ = random_float_in_ranges 4@ 5@
:PETROL_268
wait 0
077E: get_active_interior_to $ACTIVE_INTERIOR
if and
Player.Defined($PLAYER_CHAR)
Actor.Driving($PLAYER_ACTOR)
Actor.InCar($PLAYER_ACTOR, 0@)
not Car.Wrecked(0@)
not $ONMISSION == 1
$ACTIVE_INTERIOR == 0
jf @PETROL_21
if and
81AB: not car 0@ sphere 0 in_rectangle_cornerA 2123.381 928.5721 cornerB 2106.851 911.447 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA 2156.116 2755.251 cornerB 2139.349 2740.35 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA 2194.875 2484.607 cornerB 2210.604 2466.627 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA 1587.391 2205.624 cornerB 1604.394 2191.314 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA -1690.471 409.2204 cornerB -1661.258 417.7699 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA -2406.91 965.6361 cornerB -2415.942 986.1729 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA -1322.973 2686.835 cornerB -1335.121 2666.212 stopped
jf @PETROL_930
if and
81AB: not car 0@ sphere 0 in_rectangle_cornerA -2240.084 -2567.754 cornerB -2245.656 -2554.021 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA -1616.829 -2719.784 cornerB -1595.79 -2707.281 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA -100.651 -1178.035 cornerB -81.0769 -1162.049 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA 652.7013 -575.2865 cornerB 658.194 -555.3245 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA 1937.651 -1784.631 cornerB 1945.447 -1762.005 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA -1482.618 1871.488 cornerB -1458.993 1854.385 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA 1388.339 454.0105 cornerB 1375.292 465.7418 stopped
jf @PETROL_930
if
81AB: not car 0@ sphere 0 in_rectangle_cornerA 619.5162 1671.839 cornerB 606.5409 1711.813 stopped
jf @PETROL_930
set_cleo_shared_var 101 10@
if
is_car_engine_on 0@
jf @PETROL_268
if
10@ > 0.0
jf @PETROL_877
get_cleo_shared_var 1@ 102
1@ *= 0.0086
1@ += 0.7
006B: 1@ *= 2@ // (float)
1@ /= 2.0
1@ *= 0.01
0063: 10@ -= 1@ // (float)
jump @PETROL_912
:PETROL_877
if
847A: not actor $PLAYER_ACTOR driving_bike
jf @PETROL_907
0918: set_car 0@ engine_operation 0
jump @PETROL_912
:PETROL_907
02D4: car 0@ turn_off_engine
:PETROL_912
set_cleo_shared_var 101 10@
wait 100
jump @PETROL_268
:PETROL_930
7@ = 0.0
:PETROL_940
wait 35
if and
Player.Defined($PLAYER_CHAR)
Actor.Driving($PLAYER_ACTOR)
Actor.InCar($PLAYER_ACTOR, 0@)
not Car.Wrecked(0@)
not $ONMISSION == 1
jf @PETROL_21
if and
81AB: not car 0@ sphere 0 in_rectangle_cornerA 2123.381 928.5721 cornerB 2106.851 911.447 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA 2156.116 2755.251 cornerB 2139.349 2740.35 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA 2194.875 2484.607 cornerB 2210.604 2466.627 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA 1587.391 2205.624 cornerB 1604.394 2191.314 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA -1690.471 409.2204 cornerB -1661.258 417.7699 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA -2406.91 965.6361 cornerB -2415.942 986.1729 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA -1322.973 2686.835 cornerB -1335.121 2666.212 stopped
jf @PETROL_1423
if and
81AB: not car 0@ sphere 0 in_rectangle_cornerA -2240.084 -2567.754 cornerB -2245.656 -2554.021 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA -1616.829 -2719.784 cornerB -1595.79 -2707.281 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA -100.651 -1178.035 cornerB -81.0769 -1162.049 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA 652.7013 -575.2865 cornerB 658.194 -555.3245 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA 1937.651 -1784.631 cornerB 1945.447 -1762.005 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA -1482.618 1871.488 cornerB -1458.993 1854.385 stopped
81AB: not car 0@ sphere 0 in_rectangle_cornerA 1388.339 454.0105 cornerB 1375.292 465.7418 stopped
jf @PETROL_1423
if
01AB: car 0@ sphere 0 in_rectangle_cornerA 619.5162 1671.839 cornerB 606.5409 1711.813 stopped
jf @PETROL_268
:PETROL_1423
if
8031: not 10@ >= 5@ // Note: the incorrect math opcode was used here
jf @PETROL_1633
if
not Player.Money($PLAYER_CHAR) > 0
jf @PETROL_1491
if
88FE: not text_box_displayed
jf @PETROL_1484
03E5: show_text_box 'NOMONEY' // ~s~e—e ®y›®o —ož©¥e še®e™!
:PETROL_1484
jump @PETROL_1626
:PETROL_1491
0087: 3@ = 5@ // (float)
3@ *= 51.5464
3@ += 4381.443
3@ /= 35.0
0087: 6@ = 5@ // (float)
0073: 6@ /= 3@ // (float)
005B: 10@ += 6@ // (float)
005B: 7@ += 6@ // (float)
if
7@ >= 1.0
jf @PETROL_1599
7@ -= 1.0
Player.Money($PLAYER_CHAR) += -1
:PETROL_1599
set_cleo_shared_var 101 10@
097A: play_audio_at 0.0 0.0 0.0 event 1133
:PETROL_1626
jump @PETROL_940
:PETROL_1633
if
0025: 10@ > 5@ // (float)
jf @PETROL_1660
0087: 10@ = 5@ // (float)
:PETROL_1660
jump @PETROL_940