Помогите найти скрипт для прилипания к тс

Rain_Darkness

Участник
Автор темы
248
14
Версия SA-MP
  1. 0.3.7 (R1)
  2. 0.3.7-R2
  3. 0.3.7-R3
  4. Любая
  5. Другая
Всем привет, я ещё давно в МТА на проекте dying world увидел фичу если нажимаешь на = на клавиатуре то ты прилипаешь к авто или любому другому тс, если он перевернётся и тд ты всё равно будешь на нем пока опять не нажмёшь на =, умоляю помогите найти что то подобное
 
Решение
Всем привет, я ещё давно в МТА на проекте dying world увидел фичу если нажимаешь на = на клавиатуре то ты прилипаешь к авто или любому другому тс, если он перевернётся и тд ты всё равно будешь на нем пока опять не нажмёшь на =, умоляю помогите найти что то подобное

Активация/Деактивация:
Ctrl+T (стандартная активация/деактивация, можно будет изменить в ини файле на любую другую!), стоя рядом с машиной, желательно прямо на крыше.

CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
{$USE CLEO+}
{$USE ini}

0000: NOP
wait 100
if
0AAB:   file_exists "CLEO\turret.ini"
jf @NONAME_587...

Fix_Play

Потрачен
105
30
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Всем привет, я ещё давно в МТА на проекте dying world увидел фичу если нажимаешь на = на клавиатуре то ты прилипаешь к авто или любому другому тс, если он перевернётся и тд ты всё равно будешь на нем пока опять не нажмёшь на =, умоляю помогите найти что то подобное

Активация/Деактивация:
Ctrl+T (стандартная активация/деактивация, можно будет изменить в ини файле на любую другую!), стоя рядом с машиной, желательно прямо на крыше.

CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
{$USE CLEO+}
{$USE ini}

0000: NOP
wait 100
if
0AAB:   file_exists "CLEO\turret.ini"
jf @NONAME_587
0AF2: 31@ = get_float_from_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
0AF2: 30@ = get_float_from_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
0AF2: 29@ = get_float_from_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
0AF0: 28@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "First Key"
0AF0: 27@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "Second Key"
0AF0: 25@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "X Up Key"
0AF0: 24@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "X Down Key"
0AF0: 23@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "Y Up Key"
0AF0: 22@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "Y Down Key"
0AF0: 21@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "Z Up Key"
0AF0: 20@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "Z Down Key"
0AF0: 19@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "Reset Key"
jump @NONAME_1143

:NONAME_587
wait 0
0AF3: write_float 0.0 to_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
0AF3: write_float -0.4 to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
0AF3: write_float 1.7 to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
0AF1: write_int 17 to_ini_file "cleo\turret.ini" section "Activation" key "First Key"
0AF1: write_int 84 to_ini_file "cleo\turret.ini" section "Activation" key "Second Key"
0AF1: write_int 39 to_ini_file "cleo\turret.ini" section "Activation" key "X Up Key"
0AF1: write_int 37 to_ini_file "cleo\turret.ini" section "Activation" key "X Down Key"
0AF1: write_int 38 to_ini_file "cleo\turret.ini" section "Activation" key "Y Up Key"
0AF1: write_int 40 to_ini_file "cleo\turret.ini" section "Activation" key "Y Down Key"
0AF1: write_int 81 to_ini_file "cleo\turret.ini" section "Activation" key "Z Up Key"
0AF1: write_int 69 to_ini_file "cleo\turret.ini" section "Activation" key "Z Down Key"
0AF1: write_int 35 to_ini_file "cleo\turret.ini" section "Activation" key "Reset Key"
wait 100
jump @NONAME_3381

:NONAME_1143
wait 0
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@
if and
key_down 28@
key_down 27@
jf @NONAME_1143
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
print "Turret: ~r~On" 500
wait 250
jump @NONAME_1242

:NONAME_1242
wait 0
if and
key_down 28@
key_down 27@
jf @NONAME_1305
0465: remove_actor $PLAYER_ACTOR from_turret_mode
print "Turret: ~r~Off" 500
wait 250
jump @NONAME_1143

:NONAME_1305
wait 0
if and
   not SAMP.ChatInputOpened
key_down 20@
jf @NONAME_1607
if and
key_down 20@
key_down 16
jf @NONAME_1475
29@ -= 0.2
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Z Car Offset: ~r~%f" 300 29@
0AF3: write_float 29@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
wait 10
jump @NONAME_1305

:NONAME_1475
wait 0
29@ -= 0.01
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Z Car Offset: ~r~%f" 300 29@
0AF3: write_float 29@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
wait 10
jump @NONAME_1305

:NONAME_1607
wait 0
if and
   not SAMP.ChatInputOpened
key_down 21@
jf @NONAME_1909
if and
key_down 21@
key_down 16
jf @NONAME_1777
29@ += 0.2
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Z Car Offset: ~r~%f" 300 29@
0AF3: write_float 29@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
wait 10
jump @NONAME_1607

:NONAME_1777
wait 0
29@ += 0.01
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Z Car Offset: ~r~%f" 300 29@
0AF3: write_float 29@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
wait 10
jump @NONAME_1607

:NONAME_1909
wait 0
if and
   not SAMP.ChatInputOpened
key_down 23@
jf @NONAME_2211
if and
key_down 23@
key_down 16
jf @NONAME_2079
30@ += 0.2
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Y Car Offset: ~r~%f" 300 30@
0AF3: write_float 30@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
wait 10
jump @NONAME_1909

:NONAME_2079
wait 0
30@ += 0.01
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Y Car Offset: ~r~%f" 300 30@
0AF3: write_float 30@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
wait 10
jump @NONAME_1909

:NONAME_2211
wait 0
if and
   not SAMP.ChatInputOpened
key_down 22@
jf @NONAME_2513
if and
key_down 22@
key_down 16
jf @NONAME_2381
30@ -= 0.2
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Y Car Offset: ~r~%f" 300 30@
0AF3: write_float 30@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
wait 10
jump @NONAME_2211

:NONAME_2381
wait 0
30@ -= 0.01
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Y Car Offset: ~r~%f" 300 30@
0AF3: write_float 30@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
wait 10
jump @NONAME_2211

:NONAME_2513
wait 0
if and
   not SAMP.ChatInputOpened
key_down 25@
jf @NONAME_2815
if and
key_down 25@
key_down 16
jf @NONAME_2683
31@ += 0.2
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "X Car Offset: ~r~%f" 300 31@
0AF3: write_float 31@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
wait 10
jump @NONAME_2513

:NONAME_2683
wait 0
31@ += 0.01
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "X Car Offset: ~r~%f" 300 31@
0AF3: write_float 31@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
wait 10
jump @NONAME_2513

:NONAME_2815
wait 0
if and
   not SAMP.ChatInputOpened
key_down 24@
jf @NONAME_3117
if and
key_down 24@
key_down 16
jf @NONAME_2985
31@ -= 0.2
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "X Car Offset: ~r~%f" 300 31@
0AF3: write_float 31@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
wait 10
jump @NONAME_2815

:NONAME_2985
wait 0
31@ -= 0.01
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "X Car Offset: ~r~%f" 300 31@
0AF3: write_float 31@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
wait 10
jump @NONAME_2815

:NONAME_3117
wait 0
if
key_down 19@
jf @NONAME_1242
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 0.0 0.0 0.0 position 1 shooting_angle 360.0 70.0 with_weapon 31
29@ = 0.0
30@ = 0.0
31@ = 0.0
0AF3: write_float 29@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
0AF3: write_float 30@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
0AF3: write_float 31@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
print "Car Offset ~r~Reseted~s~!" 600
jump @NONAME_3117

:NONAME_3381
wait 0
0C6A: 26@ = create_custom_thread_at_label -2
0A93: end_custom_thread
Всем привет, я ещё давно в МТА на проекте dying world увидел фичу если нажимаешь на = на клавиатуре то ты прилипаешь к авто или любому другому тс, если он перевернётся и тд ты всё равно будешь на нем пока опять не нажмёшь на =, умоляю помогите найти что то подобное
тема - https://www.blast.hk/threads/65450/
 

Rain_Darkness

Участник
Автор темы
248
14
Активация/Деактивация:
Ctrl+T (стандартная активация/деактивация, можно будет изменить в ини файле на любую другую!), стоя рядом с машиной, желательно прямо на крыше.

CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
{$USE CLEO+}
{$USE ini}

0000: NOP
wait 100
if
0AAB:   file_exists "CLEO\turret.ini"
jf @NONAME_587
0AF2: 31@ = get_float_from_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
0AF2: 30@ = get_float_from_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
0AF2: 29@ = get_float_from_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
0AF0: 28@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "First Key"
0AF0: 27@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "Second Key"
0AF0: 25@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "X Up Key"
0AF0: 24@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "X Down Key"
0AF0: 23@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "Y Up Key"
0AF0: 22@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "Y Down Key"
0AF0: 21@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "Z Up Key"
0AF0: 20@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "Z Down Key"
0AF0: 19@ = get_int_from_ini_file "cleo\turret.ini" section "Activation" key "Reset Key"
jump @NONAME_1143

:NONAME_587
wait 0
0AF3: write_float 0.0 to_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
0AF3: write_float -0.4 to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
0AF3: write_float 1.7 to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
0AF1: write_int 17 to_ini_file "cleo\turret.ini" section "Activation" key "First Key"
0AF1: write_int 84 to_ini_file "cleo\turret.ini" section "Activation" key "Second Key"
0AF1: write_int 39 to_ini_file "cleo\turret.ini" section "Activation" key "X Up Key"
0AF1: write_int 37 to_ini_file "cleo\turret.ini" section "Activation" key "X Down Key"
0AF1: write_int 38 to_ini_file "cleo\turret.ini" section "Activation" key "Y Up Key"
0AF1: write_int 40 to_ini_file "cleo\turret.ini" section "Activation" key "Y Down Key"
0AF1: write_int 81 to_ini_file "cleo\turret.ini" section "Activation" key "Z Up Key"
0AF1: write_int 69 to_ini_file "cleo\turret.ini" section "Activation" key "Z Down Key"
0AF1: write_int 35 to_ini_file "cleo\turret.ini" section "Activation" key "Reset Key"
wait 100
jump @NONAME_3381

:NONAME_1143
wait 0
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@
if and
key_down 28@
key_down 27@
jf @NONAME_1143
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
print "Turret: ~r~On" 500
wait 250
jump @NONAME_1242

:NONAME_1242
wait 0
if and
key_down 28@
key_down 27@
jf @NONAME_1305
0465: remove_actor $PLAYER_ACTOR from_turret_mode
print "Turret: ~r~Off" 500
wait 250
jump @NONAME_1143

:NONAME_1305
wait 0
if and
   not SAMP.ChatInputOpened
key_down 20@
jf @NONAME_1607
if and
key_down 20@
key_down 16
jf @NONAME_1475
29@ -= 0.2
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Z Car Offset: ~r~%f" 300 29@
0AF3: write_float 29@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
wait 10
jump @NONAME_1305

:NONAME_1475
wait 0
29@ -= 0.01
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Z Car Offset: ~r~%f" 300 29@
0AF3: write_float 29@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
wait 10
jump @NONAME_1305

:NONAME_1607
wait 0
if and
   not SAMP.ChatInputOpened
key_down 21@
jf @NONAME_1909
if and
key_down 21@
key_down 16
jf @NONAME_1777
29@ += 0.2
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Z Car Offset: ~r~%f" 300 29@
0AF3: write_float 29@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
wait 10
jump @NONAME_1607

:NONAME_1777
wait 0
29@ += 0.01
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Z Car Offset: ~r~%f" 300 29@
0AF3: write_float 29@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
wait 10
jump @NONAME_1607

:NONAME_1909
wait 0
if and
   not SAMP.ChatInputOpened
key_down 23@
jf @NONAME_2211
if and
key_down 23@
key_down 16
jf @NONAME_2079
30@ += 0.2
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Y Car Offset: ~r~%f" 300 30@
0AF3: write_float 30@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
wait 10
jump @NONAME_1909

:NONAME_2079
wait 0
30@ += 0.01
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Y Car Offset: ~r~%f" 300 30@
0AF3: write_float 30@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
wait 10
jump @NONAME_1909

:NONAME_2211
wait 0
if and
   not SAMP.ChatInputOpened
key_down 22@
jf @NONAME_2513
if and
key_down 22@
key_down 16
jf @NONAME_2381
30@ -= 0.2
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Y Car Offset: ~r~%f" 300 30@
0AF3: write_float 30@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
wait 10
jump @NONAME_2211

:NONAME_2381
wait 0
30@ -= 0.01
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "Y Car Offset: ~r~%f" 300 30@
0AF3: write_float 30@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
wait 10
jump @NONAME_2211

:NONAME_2513
wait 0
if and
   not SAMP.ChatInputOpened
key_down 25@
jf @NONAME_2815
if and
key_down 25@
key_down 16
jf @NONAME_2683
31@ += 0.2
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "X Car Offset: ~r~%f" 300 31@
0AF3: write_float 31@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
wait 10
jump @NONAME_2513

:NONAME_2683
wait 0
31@ += 0.01
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "X Car Offset: ~r~%f" 300 31@
0AF3: write_float 31@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
wait 10
jump @NONAME_2513

:NONAME_2815
wait 0
if and
   not SAMP.ChatInputOpened
key_down 24@
jf @NONAME_3117
if and
key_down 24@
key_down 16
jf @NONAME_2985
31@ -= 0.2
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "X Car Offset: ~r~%f" 300 31@
0AF3: write_float 31@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
wait 10
jump @NONAME_2815

:NONAME_2985
wait 0
31@ -= 0.01
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 31@ 30@ 29@ position 1 shooting_angle 360.0 70.0 with_weapon 31
printf "X Car Offset: ~r~%f" 300 31@
0AF3: write_float 31@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
wait 10
jump @NONAME_2815

:NONAME_3117
wait 0
if
key_down 19@
jf @NONAME_1242
06A7: put_actor $PLAYER_ACTOR into_turret_on_car 0@ at_car_offset 0.0 0.0 0.0 position 1 shooting_angle 360.0 70.0 with_weapon 31
29@ = 0.0
30@ = 0.0
31@ = 0.0
0AF3: write_float 29@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Z Offset"
0AF3: write_float 30@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "Y Offset"
0AF3: write_float 31@ to_ini_file "cleo\turret.ini" section "DefCarOffset" key "X Offset"
print "Car Offset ~r~Reseted~s~!" 600
jump @NONAME_3117

:NONAME_3381
wait 0
0C6A: 26@ = create_custom_thread_at_label -2
0A93: end_custom_thread

тема - https://www.blast.hk/threads/65450/
спс бро ты лучший ))