Помощь в изменении скриптов

FYP

Известный
Автор темы
Администратор
1,764
5,923
Здесь вы можете попросить других пользователей внести какие-то небольшие изменения в скрипт, например, изменить активацию.
Для вопросов по программированию и разработке на форуме есть отдельная категория Разработка.

Рекомендации:
  1. Не просите о редактировании .asi, .sf, .luac, .dll, .exe и прочих файлов, не поддающихся простой декомпиляции. Скрипты формата .ahk (AutoHotKey), .lua (Lua/MoonLoader) и .cs (CLEO) легко поддаются изменению.
  2. Сообщения по типу "спасибо, помог" по правилам форума считаются флудом и скорее всего будут удалены. Если вам помогли, вы можете нажать кнопку Мне нравится под ответом - это даст понять, что ответ верный.
  3. За злонамеренное распространение вредоносного ПО - перманентный бан. Имейте это в виду.
Удаление копирайтов является нарушением авторских прав, если автор не дал на это своего разрешения. Правила BlastHack запрещают нарушать авторские права, поэтому если вам нужно их убрать - обращайтесь к автору.
 
Последнее редактирование:

MC БАТЯ

Новичок
11
0
Помогите сменить активацию скрипта на кнопку как показано на картинке
 

Вложения

  • TECHNOREAL_107479-large5.jpg
    TECHNOREAL_107479-large5.jpg
    12.1 KB · Просмотры: 323
  • clickwarp.lua
    8.4 KB · Просмотры: 7

serhiyrubin

Известный
396
106

Zefir2511

Активный
277
32
Эм, а ты сам смотрел код?
Код:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP
Он же работает.Может закрыт просто.

Эм, а ты сам смотрел код?
Код:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP
Вот ещё 1 есть.С открытам
 

Вложения

  • cleo tp evolve.cs
    17.7 KB · Просмотры: 21
Последнее редактирование модератором:

sobaqa

Новичок
59
9
Добавьте Активацию и Деактивацию на ZZ плз.
 

Вложения

  • SimpleCbug.cs
    17.2 KB · Просмотры: 13

PUPUSKA

Новичок
16
3
Можете переписать активацию на F2?
 

Вложения

  • AutoAIM.cs
    3 KB · Просмотры: 18

Оливер0000

Новичок
31
1
Это скрипт АнтиАФК.
Проблемы: Скрипт иногда не работает, и не работает при нажатий на ESC(Пауза игры). Сделайте их рабочим.
Активация: /sv
 

Вложения

  • sv.cs
    18.4 KB · Просмотры: 14

123321123123321

Новичок
13
0
Помогите пожалуйста с компиляцией скрипта на сбив аренды машины DRP, (ну или просто уничтожить транспорт).
Когда его компилирую, выдает ошибку, посмотрите сами, вот код, если сможете исправить эту ошибку, то скиньте мне клео в ВК Misha Shulgin (https://vk.com/shulginnn)
Кто решит эту ошибку и сделает клео рабочим, тому дам 50 рублей (в ВК)

Код:
{$CLEO .cs}


0000:


REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY

0C6A: [email protected] = create_custom_thread_at_label @ColorLoop
0B6D: [email protected] CREATE_FONT "Arial" HEIGHT 10 FLAGS 0x5
[email protected] = FALSE
0B34: "rem" @Rem

//color


WHILE TRUE
WAIT 0
IF
[email protected] == TRUE
THEN
IF
8B8C: samp is_cursor_active
THEN
0B8D: ENABLE_CURSOR_WITH_MODE 3
END
0B5A: get_screen_resolution [email protected] [email protected]
[email protected] = 0
[email protected] += 5
[email protected] /= 2
0B6B: [email protected] = FONT [email protected] TEXT "CAR DESTROYER" LENGTH
0016: [email protected] /= 2
0062: [email protected] -= [email protected] // (int)
0AB4: [email protected] VARIABLE= 206
0B6F: FONT [email protected] draw_text "CAR DESTROYER" pos [email protected] [email protected] color [email protected]





[email protected] = 50.0
[email protected] = -1
0B5E: get_cursor_pos [email protected] [email protected]

0B5F: convert_window_screen_coords [email protected] [email protected] to_game_screen_coords [email protected] [email protected]

IF
0AE2: [email protected] = random_vehicle_near_point 0.0 0.0 0.0 in_radius 99999.0 find_next 0 pass_wrecked 0
THEN
REPEAT
IF
056E: car [email protected] defined
THEN
IF
02CA: car [email protected] bounding_sphere_visible
THEN
0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B5F: convert_window_screen_coords [email protected] [email protected] to_game_screen_coords [email protected] [email protected]
0509: [email protected] = distance_between_XY [email protected] [email protected] and [email protected] [email protected]
IF
0035: [email protected] >= [email protected] // (float)
THEN
0087: [email protected] = [email protected] // (float)
0085: [email protected] = [email protected] // (int)
END
END
END
UNTIL 8AE2: [email protected] = random_vehicle_near_point 0.0 0.0 0.0 in_radius 99999.0 find_next 1 pass_wrecked 0
END











IF
056E: car [email protected] defined
THEN
0AB1: @BOUND_CAR 1 [email protected]
0AC8: [email protected] = allocate_memory_size 64
0441: [email protected] = car [email protected] model
0ADB: [email protected] = car_model [email protected] name
0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B6B: [email protected] = FONT [email protected] TEXT [email protected] LENGTH
0016: [email protected] /= 2
0062: [email protected] -= [email protected] // (int)
0AB4: [email protected] VARIABLE= 206
0B6F: FONT [email protected] draw_text [email protected] pos [email protected] [email protected] color [email protected]
0AC9: free_allocated_memory [email protected]
IF
0AB0: 1
THEN
IF
0B2C: samp [email protected] = get_vehicle_id_by_car_handle [email protected]
THEN
[email protected] = FALSE
0B5D: CURSOR_ENABLED = FALSE
[email protected] = Car.Health([email protected])
Car.Health([email protected]) = 0
FOR [email protected] = 0 TO 10
WAIT 0
IF
056E: car [email protected] defined
THEN
0C82: force_unoccupied_sync [email protected] seat_id 1
0BD4: send_vehicle_destroyed [email protected]
if 80DF: actor $PLAYER_ACTOR driving
then
0C83: samp force_onfoot_sync
end
END
END
IF
056E: car [email protected] defined
THEN
Car.Health([email protected]) = [email protected]
046C: [email protected] = car [email protected] driver
IF
056D: actor [email protected] defined
THEN
[email protected] = 20
ELSE
[email protected] = 10
END


FOR [email protected] = 1 TO [email protected]
IF
856E: car [email protected] defined
THEN
BREAK
END
0AC8: [email protected] = allocate_memory_size 84
0AB4: [email protected] VARIABLE= 206
[email protected] = 0
REPEAT
WAIT 0
IF
856E: car [email protected] defined
THEN
BREAK
END
0AB1: @BOUND_CAR 1 [email protected]
0AD3: [email protected] = format "Timer: %d/%d" [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0B6B: [email protected] = FONT [email protected] TEXT [email protected] LENGTH
0016: [email protected] /= 2
0062: [email protected] -= [email protected] // (int)
IF
02CA: car [email protected] bounding_sphere_visible
THEN
0B6F: FONT [email protected] draw_text [email protected] pos [email protected] [email protected] color [email protected]
END
UNTIL [email protected] > 1005
0AC9: free_allocated_memory [email protected]

END


END





END
END
END

IF
// 00DF: actor $PLAYER_ACTOR driving
0AB0: 2
THEN
[email protected] = FALSE
0B5D: CURSOR_ENABLED = FALSE
END




END
END

:rem
IF
[email protected] == FALSE
THEN
[email protected] = TRUE
ELSE
[email protected] = FALSE
0B5D: CURSOR_ENABLED = FALSE
END
0B43: cmd_ret


:BOUND_CAR
0085: [email protected] = [email protected] // (int)
0441: [email protected] = car [email protected] model
[email protected] = 0xFF000000
//0AB4: [email protected] VARIABLE= 206
[email protected] = 3
//////////////////////////////////////////////////////////////////////////////
0AB1: @GET_MODEL_DIMENSION_A 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: @GET_MODEL_DIMENSION_C 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
IF
00C2: sphere_onscreen [email protected] [email protected] [email protected] radius 1.0
THEN
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] with [email protected] color [email protected]
END
//////////////////////////////////////////////////////////////////////////////
0AB1: @GET_MODEL_DIMENSION_C 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: @GET_MODEL_DIMENSION_B 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
IF
00C2: sphere_onscreen [email protected] [email protected] [email protected] radius 1.0
THEN
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] with [email protected] color [email protected]
END
//////////////////////////////////////////////////////////////////////////////
0AB1: @GET_MODEL_DIMENSION_B 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: @GET_MODEL_DIMENSION_D 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
IF
00C2: sphere_onscreen [email protected] [email protected] [email protected] radius 1.0
THEN
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] with [email protected] color [email protected]
END
//////////////////////////////////////////////////////////////////////////////
0AB1: @GET_MODEL_DIMENSION_D 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: @GET_MODEL_DIMENSION_A 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
IF
00C2: sphere_onscreen [email protected] [email protected] [email protected] radius 1.0
THEN
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] with [email protected] color [email protected]
END
//////////////////////////////////////////////////////////////////////////////
0AB1: @GET_MODEL_DIMENSION_E 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: @GET_MODEL_DIMENSION_G 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
IF
00C2: sphere_onscreen [email protected] [email protected] [email protected] radius 1.0
THEN
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] with [email protected] color [email protected]
END
//////////////////////////////////////////////////////////////////////////////
0AB1: @GET_MODEL_DIMENSION_G 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: @GET_MODEL_DIMENSION_F 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
IF
00C2: sphere_onscreen [email protected] [email protected] [email protected] radius 1.0
THEN
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] with [email protected] color [email protected]
END
//////////////////////////////////////////////////////////////////////////////
0AB1: @GET_MODEL_DIMENSION_F 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: @GET_MODEL_DIMENSION_H 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
IF
00C2: sphere_onscreen [email protected] [email protected] [email protected] radius 1.0
THEN
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] with [email protected] color [email protected]
END
//////////////////////////////////////////////////////////////////////////////
0AB1: @GET_MODEL_DIMENSION_H 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: @GET_MODEL_DIMENSION_E 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
IF
00C2: sphere_onscreen [email protected] [email protected] [email protected] radius 1.0
THEN
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] with [email protected] color [email protected]
END
//////////////////////////////////////////////////////////////////////////////
0AB1: @GET_MODEL_DIMENSION_A 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: @GET_MODEL_DIMENSION_E 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
IF
00C2: sphere_onscreen [email protected] [email protected] [email protected] radius 1.0
THEN
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] with [email protected] color [email protected]
END
//////////////////////////////////////////////////////////////////////////////
0AB1: @GET_MODEL_DIMENSION_B 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: @GET_MODEL_DIMENSION_F 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] wtith_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
IF
00C2: sphere_onscreen [email protected] [email protected] [email protected] radius 1.0
THEN
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] with [email protected] color [email protected]
END
//////////////////////////////////////////////////////////////////////////////
0AB1: @GET_MODEL_DIMENSION_C 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: @GET_MODEL_DIMENSION_H 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
IF
00C2: sphere_onscreen [email protected] [email protected] [email protected] radius 1.0
THEN
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] with [email protected] color [email protected]
END
//////////////////////////////////////////////////////////////////////////////
0AB1: @GET_MODEL_DIMENSION_D 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
0AB1: @GET_MODEL_DIMENSION_G 1 [email protected] STORE_TO [email protected] [email protected] [email protected]
0407: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset [email protected] [email protected] [email protected]
0B55: convert_3D_coords [email protected] [email protected] [email protected] to_screen [email protected] [email protected]
IF
00C2: sphere_onscreen [email protected] [email protected] [email protected] radius 1.0
THEN
0B68: render draw_line_point1 [email protected] [email protected] point2 [email protected] [email protected] with [email protected] color [email protected]
END
//////////////////////////////////////////////////////////////////////////////
0ab2: 0


:GET_MODEL_DIMENSION_A // UNTEN VORNE LINKS
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
[email protected] *= -1.0
0AB2: 3 [email protected] [email protected] [email protected]


:GET_MODEL_DIMENSION_B // UNTEN HINTEN RECHTS
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
[email protected] *= -1.0
0AB2: 3 [email protected] [email protected] [email protected]


:GET_MODEL_DIMENSION_C // UNTEN VORNE RECHTS
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
[email protected] *= -1.0
[email protected] *= -1.0
0AB2: 3 [email protected] [email protected] [email protected]

:GET_MODEL_DIMENSION_D // UNTEN HINTEN LINKS
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
0AB2: 3 [email protected] [email protected] [email protected]


/// OBENSECTION:

:GET_MODEL_DIMENSION_E // UNTEN VORNE LINKS
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
[email protected] *= -1.0
0AB2: 3 [email protected] [email protected] [email protected]


:GET_MODEL_DIMENSION_F // UNTEN HINTEN RECHTS
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
[email protected] *= -1.0
0AB2: 3 [email protected] [email protected] [email protected]


:GET_MODEL_DIMENSION_G // UNTEN VORNE RECHTS
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
[email protected] *= -1.0
[email protected] *= -1.0
0AB2: 3 [email protected] [email protected] [email protected]

:GET_MODEL_DIMENSION_H // UNTEN HINTEN LINKS
07E4: get_model [email protected] dimensions_cornerA_to [email protected] [email protected] [email protected] dimensions_cornerB_to [email protected] [email protected] [email protected]
0AB2: 3 [email protected] [email protected] [email protected]

:ColorLoop
0000:

CONST
R = [email protected]
G = [email protected]
B = [email protected]
END

WHILE TRUE
WAIT 0
R = 255
G = 0
B = 0
FOR B = 0 TO 255
WAIT 0
GOSUB @DRAW
END
B = 255

FOR R = 255 DOWNTO 0
WAIT 0
GOSUB @DRAW
END
R = 0

FOR G = 0 TO 255
WAIT 0
GOSUB @DRAW
END
G = 255

FOR B = 255 DOWNTO 0
WAIT 0
GOSUB @DRAW
END
B = 0
FOR R = 0 TO 255
WAIT 0
GOSUB @DRAW
END
R = 255
FOR G = 255 DOWNTO 0
WAIT 0
GOSUB @DRAW
END
G = 0
END

:0D(УБЕРИТЕ НА ЭТОЙ СТРОКЕ ВСЕ СКОБКИ, НУЛИ И ЭТО ПРЕДЛОЖЕНИЕ)RAW
0B67: render a 0xFF R G B to_argb [email protected]
0AB3: VARIABLE 206 = [email protected]
return