- 8
- 0
- Версия SA-MP
-
- 0.3.7 (R1)
- 0.3.7-R2
Крч есть клео плагин, ему надо сделать активацию на клваишу, прошу помогите, вот код
// This file was decompiled using SASCM.ini published on 2021-01-30
{$CLEO .cs}
0000: NOP
:NONAME_2
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
84A7: not actor $PLAYER_ACTOR driving_boat
89AE: not actor $PLAYER_ACTOR driving_train
84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
847A: not actor $PLAYER_ACTOR driving_bike
jf @NONAME_2
0@ = Actor.CurrentCar($PLAYER_ACTOR)
get_vehicle_pointer 4@ 0@
4@ += 1180
:NONAME_66
wait 0
if or
02BF: car 0@ sunk
not Actor.InCar($PLAYER_ACTOR, 0@)
jf @NONAME_106
Car.RemoveReferences(0@)
jump @NONAME_2
:NONAME_106
read_memory 5@ 4@ 4 1
if
not 5@ >= 0.0
jf @NONAME_153
gosub @NONAME_459
jump @NONAME_66
:NONAME_153
if
gosub @NONAME_535
jf @NONAME_178
jump @NONAME_66
:NONAME_178
7@ = Car.Health(0@)
02E3: 1@ = car 0@ speed
if
not 1@ > 3.0
jf @NONAME_222
jump @NONAME_66
:NONAME_222
1@ += 4.0
:NONAME_232
wait 0
8@ = Car.Health(0@)
if
gosub @NONAME_535
jf @NONAME_269
jump @NONAME_66
:NONAME_269
if
00E1: player 0 pressed_key 49
jf @NONAME_348
if
not 1@ >= 20.0
jf @NONAME_336
Car.SetSpeedInstantly(0@, 0.0)
0633: AS_actor $PLAYER_ACTOR exit_car
jump @NONAME_66
jump @NONAME_348
:NONAME_336
0633: AS_actor $PLAYER_ACTOR exit_car
jump @NONAME_66
:NONAME_348
02E3: 2@ = car 0@ speed
0087: 3@ = 1@ // (float)
3@ -= 7.0
if
TIMERA >= 100
jf @NONAME_452
if and
8025: not 2@ > 3@ // (float)
8035: not 8@ >= 7@ // (float)
jf @NONAME_437
wait 0
jump @NONAME_66
jump @NONAME_452
:NONAME_437
Car.SetSpeedInstantly(0@, 1@)
TIMERA = 0
:NONAME_452
jump @NONAME_232
:NONAME_459
wait 0
02E3: 6@ = car 0@ speed
if or
not is_car_engine_on 0@
00E1: player 0 pressed_key 50
not Actor.InCar($PLAYER_ACTOR, 0@)
02BF: car 0@ sunk
01F3: car 0@ in_air
not Player.Defined($PLAYER_ACTOR)
not 6@ > 3.0
jf @NONAME_528
return
:NONAME_528
jump @NONAME_459
:NONAME_535
if or
not is_car_engine_on 0@
00E1: player 0 pressed_key 50
not Actor.InCar($PLAYER_ACTOR, 0@)
02BF: car 0@ sunk
01F3: car 0@ in_air
00E1: player 0 pressed_key 51
00E1: player 0 pressed_key 49
not Player.Defined($PLAYER_ACTOR)
jf @NONAME_601
0485: return_true
jump @NONAME_633
:NONAME_601
if or
not Player.Controllable($PLAYER_CHAR)
01F4: car 0@ flipped
jf @NONAME_631
0485: return_true
jump @NONAME_633
:NONAME_631
059A: return_false
:NONAME_633
return
// This file was decompiled using SASCM.ini published on 2021-01-30
{$CLEO .cs}
0000: NOP
:NONAME_2
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
84A7: not actor $PLAYER_ACTOR driving_boat
89AE: not actor $PLAYER_ACTOR driving_train
84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
847A: not actor $PLAYER_ACTOR driving_bike
jf @NONAME_2
0@ = Actor.CurrentCar($PLAYER_ACTOR)
get_vehicle_pointer 4@ 0@
4@ += 1180
:NONAME_66
wait 0
if or
02BF: car 0@ sunk
not Actor.InCar($PLAYER_ACTOR, 0@)
jf @NONAME_106
Car.RemoveReferences(0@)
jump @NONAME_2
:NONAME_106
read_memory 5@ 4@ 4 1
if
not 5@ >= 0.0
jf @NONAME_153
gosub @NONAME_459
jump @NONAME_66
:NONAME_153
if
gosub @NONAME_535
jf @NONAME_178
jump @NONAME_66
:NONAME_178
7@ = Car.Health(0@)
02E3: 1@ = car 0@ speed
if
not 1@ > 3.0
jf @NONAME_222
jump @NONAME_66
:NONAME_222
1@ += 4.0
:NONAME_232
wait 0
8@ = Car.Health(0@)
if
gosub @NONAME_535
jf @NONAME_269
jump @NONAME_66
:NONAME_269
if
00E1: player 0 pressed_key 49
jf @NONAME_348
if
not 1@ >= 20.0
jf @NONAME_336
Car.SetSpeedInstantly(0@, 0.0)
0633: AS_actor $PLAYER_ACTOR exit_car
jump @NONAME_66
jump @NONAME_348
:NONAME_336
0633: AS_actor $PLAYER_ACTOR exit_car
jump @NONAME_66
:NONAME_348
02E3: 2@ = car 0@ speed
0087: 3@ = 1@ // (float)
3@ -= 7.0
if
TIMERA >= 100
jf @NONAME_452
if and
8025: not 2@ > 3@ // (float)
8035: not 8@ >= 7@ // (float)
jf @NONAME_437
wait 0
jump @NONAME_66
jump @NONAME_452
:NONAME_437
Car.SetSpeedInstantly(0@, 1@)
TIMERA = 0
:NONAME_452
jump @NONAME_232
:NONAME_459
wait 0
02E3: 6@ = car 0@ speed
if or
not is_car_engine_on 0@
00E1: player 0 pressed_key 50
not Actor.InCar($PLAYER_ACTOR, 0@)
02BF: car 0@ sunk
01F3: car 0@ in_air
not Player.Defined($PLAYER_ACTOR)
not 6@ > 3.0
jf @NONAME_528
return
:NONAME_528
jump @NONAME_459
:NONAME_535
if or
not is_car_engine_on 0@
00E1: player 0 pressed_key 50
not Actor.InCar($PLAYER_ACTOR, 0@)
02BF: car 0@ sunk
01F3: car 0@ in_air
00E1: player 0 pressed_key 51
00E1: player 0 pressed_key 49
not Player.Defined($PLAYER_ACTOR)
jf @NONAME_601
0485: return_true
jump @NONAME_633
:NONAME_601
if or
not Player.Controllable($PLAYER_CHAR)
01F4: car 0@ flipped
jf @NONAME_631
0485: return_true
jump @NONAME_633
:NONAME_631
059A: return_false
:NONAME_633
return