Как активировать данный скрипт?

tatami

Новичок
Автор темы
9
0
Версия SA-MP
  1. Любая
Код:
// This file was decompiled using SCM.ini published on 2021-01-30
{$CLEO .cs}

0000: NOP 

:NONAME_2
wait 0 
if 
0256:   player $PLAYER_CHAR defined 
if 
00DF:   actor $PLAYER_ACTOR in_any_car 
jf @NONAME_2 
03C0: 1@ = actor $PLAYER_ACTOR car_no_save 
0@ = 304543 // @ = int 
if and
00DB:   actor $PLAYER_ACTOR in_car 1@ 
  &0(0@,1i) == 255 // $ == int 
jf @NONAME_2 
0A30: 
0103:   actor 
wait 0 
if 
01F4:   car 1@ flipped 
jf @NONAME_137 
07DB: 
0103:   actor 
// @ = int 
0000: NOP 
// @ = int 
hex
 80 3F
end
// @ = int 
0000: NOP 
01C3: mark_car_as_no_longer_needed 1@ 
jump @NONAME_2 

:NONAME_137
wait 200 
01C3: mark_car_as_no_longer_needed 1@ 
jump @NONAME_2
 

Вложения

  • pochinka.cs
    17.3 KB · Просмотры: 6
Решение
Код:
{$CLEO}
Thread "repair"

:1
wait 0
if and
  Player.Defined($PLAYER_CHAR)
  Actor.Driving($PLAYER_ACTOR)
jf @1
1@ = Actor.CurrentCar($PLAYER_ACTOR)
if and
  Actor.InCar($PLAYER_ACTOR, 1@)
  key_down 8
jf @1
0A30: repair_car 1@
wait 0
if 01F4: car 1@ flipped
jf @2
07DB: set_car 1@ rotation_velocity_XYZ 0.0 1.0 0.0 through_center_of_mass
Car.RemoveReferences(1@)
jump @1

:2
wait 200
Car.RemoveReferences(1@)
jump @1
Попробуй это, активация Backspace, стрелочка крч которой удаляешь буквы

hashish

Известный
84
31
Код:
{$CLEO}
Thread "repair"

:1
wait 0
if and
  Player.Defined($PLAYER_CHAR)
  Actor.Driving($PLAYER_ACTOR)
jf @1
1@ = Actor.CurrentCar($PLAYER_ACTOR)
if and
  Actor.InCar($PLAYER_ACTOR, 1@)
  key_down 8
jf @1
0A30: repair_car 1@
wait 0
if 01F4: car 1@ flipped
jf @2
07DB: set_car 1@ rotation_velocity_XYZ 0.0 1.0 0.0 through_center_of_mass
Car.RemoveReferences(1@)
jump @1

:2
wait 200
Car.RemoveReferences(1@)
jump @1
Попробуй это, активация Backspace, стрелочка крч которой удаляешь буквы
 

Вложения

  • repair.cs
    17.7 KB · Просмотры: 8
  • Нравится
Реакции: tatami