// 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
03A4: name_thread "JENECHQUE BUENO"
:JENECHQUE_BUENO_21
0001: wait 0 ms
0AFA: is_samp_available
004D: jump_if_false @JENECHQUE_BUENO_21
0B34: samp register_client_command "burst" to_label @JENECHQUE_BUENO_2885
0B34: samp register_client_command "rc" to_label @JENECHQUE_BUENO_2867
0B34: samp register_client_command "caropen" to_label @JENECHQUE_BUENO_2876
0B34: samp register_client_command "thr" to_label @JENECHQUE_BUENO_2858
0B34: samp register_client_command "takecar" to_label @JENECHQUE_BUENO_2849
0B34: samp register_client_command "chelp" to_label @JENECHQUE_BUENO_2894
0001: wait 500 ms
0AF8: samp add_message_to_chat "Carhack for Evolve-Rp by {cd0000}Jenek Bueno {ffffff}loaded" color -1
0AF8: samp add_message_to_chat "Special for {cd0000}perfect-soft.net" color -1
:JENECHQUE_BUENO_231
0001: wait 0 ms
00D6: if
0039: 31@ == 1
004D: jump_if_false @JENECHQUE_BUENO_721
0B35: samp 1@ = get_last_command_params
0AD4: 30@ = scan_string 1@ format "%i" 2@
00D6: if
0039: 30@ == 1
004D: jump_if_false @JENECHQUE_BUENO_2728
80DF: not actor $PLAYER_ACTOR driving
004D: jump_if_false @JENECHQUE_BUENO_2252
0AFF: samp 3@ = car_handle_by_samp_vehicle_id 2@
056E: car 3@ defined
004D: jump_if_false @JENECHQUE_BUENO_2387
09B3: get_car 3@ door_status 10@
00D6: if
0039: 10@ == 0
004D: jump_if_false @JENECHQUE_BUENO_604
0002: jump @JENECHQUE_BUENO_357
:JENECHQUE_BUENO_357
0050: gosub @JENECHQUE_BUENO_453
0AB1: call_scm_func @JENECHQUE_BUENO_647 3 9@ 10@ 11@
0001: wait 500 ms
056E: car 3@ defined
004D: jump_if_false @JENECHQUE_BUENO_2072
0050: gosub @JENECHQUE_BUENO_453
0B30: samp send_enter_vehicle 2@ as_passenger 0
0001: wait 350 ms
056E: car 3@ defined
004D: jump_if_false @JENECHQUE_BUENO_2072
0050: gosub @JENECHQUE_BUENO_453
036A: put_actor $PLAYER_ACTOR in_car 3@
0002: jump @JENECHQUE_BUENO_527
:JENECHQUE_BUENO_453
00A0: store_actor $PLAYER_ACTOR position_to 6@ 7@ 8@
00AA: store_car 3@ position_to 9@ 10@ 11@
050A: 19@ = distance_between_XYZ 6@ 7@ 8@ and_XYZ 9@ 10@ 11@
00D6: if
8021: not 19@ > 130.0
004D: jump_if_false @JENECHQUE_BUENO_2145
0051: return
:JENECHQUE_BUENO_527
0001: wait 0 ms
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false @JENECHQUE_BUENO_527
0224: set_car 3@ health_to 50
0001: wait 150 ms
0224: set_car 3@ health_to 50
0001: wait 150 ms
0224: set_car 3@ health_to 50
0B31: samp send_exit_vehicle 2@
0001: wait 50 ms
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 6@ 7@ 8@
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_604
0BD4: samp send_vehicle_destroyed 2@
0001: wait 350 ms
09B3: get_car 3@ door_status 10@
00D6: if
0039: 10@ == 0
004D: jump_if_false @JENECHQUE_BUENO_1975
0002: jump @JENECHQUE_BUENO_357
:JENECHQUE_BUENO_647
0B2B: samp 0@ = get_player_id_by_actor_handle $PLAYER_ACTOR
0AC8: 10@ = allocate_memory_size 68
0BBA: samp store_player 0@ onfoot_data 10@
0C0D: struct 10@ offset 6 size 4 = 0@
0C0D: struct 10@ offset 10 size 4 = 1@
0C0D: struct 10@ offset 14 size 4 = 2@
0BC0: samp send_onfoot_data 1@
0AC9: free_allocated_memory 1@
0AB2: ret 0
:JENECHQUE_BUENO_721
0001: wait 0 ms
00D6: if
0039: 31@ == 2
004D: jump_if_false @JENECHQUE_BUENO_869
0B35: samp 1@ = get_last_command_params
0AD4: 30@ = scan_string 1@ format "%i" 2@
00D6: if
0039: 30@ == 1
004D: jump_if_false @JENECHQUE_BUENO_2633
0AFF: samp 3@ = car_handle_by_samp_vehicle_id 2@
056E: car 3@ defined
004D: jump_if_false @JENECHQUE_BUENO_2387
09B3: get_car 3@ door_status 10@
00D6: if
8039: not 10@ == 0
004D: jump_if_false @JENECHQUE_BUENO_2319
0BD4: samp send_vehicle_destroyed 2@
0001: wait 300 ms
0AD1: show_formatted_text_highpriority "~w~Car ~r~Opened" time 2000
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_869
0001: wait 0 ms
00D6: if
0039: 31@ == 3
004D: jump_if_false @JENECHQUE_BUENO_1111
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false @JENECHQUE_BUENO_1801
09B3: get_car 3@ door_status 10@
00D6: if
0039: 19@ == 0
004D: jump_if_false @JENECHQUE_BUENO_1879
03C0: 5@ = actor $PLAYER_ACTOR car
00A0: store_actor $PLAYER_ACTOR position_to 6@ 7@ 8@
0224: set_car 5@ health_to 1000
0A30: repair_car 5@
0B2C: samp 4@ = get_vehicle_id_by_car_handle 5@
0B31: samp send_exit_vehicle 4@
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 6@ 7@ 8@
0AD1: show_formatted_text_highpriority "~w~Car ~r~Repaired" time 2000
0001: wait 350 ms
00AA: store_car 3@ position_to 9@ 10@ 11@
0AB1: call_scm_func @JENECHQUE_BUENO_647 3 9@ 10@ 11@
0001: wait 400 ms
056E: car 5@ defined
004D: jump_if_false @JENECHQUE_BUENO_2072
0B30: samp send_enter_vehicle 4@ as_passenger 0
0001: wait 300 ms
056E: car 5@ defined
004D: jump_if_false @JENECHQUE_BUENO_2072
036A: put_actor $PLAYER_ACTOR in_car 5@
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_1111
0001: wait 0 ms
00D6: if
0039: 31@ == 4
004D: jump_if_false @JENECHQUE_BUENO_1377
0B35: samp 1@ = get_last_command_params
0AD4: 30@ = scan_string 1@ format "%i" 2@
00D6: if
0039: 30@ == 1
004D: jump_if_false @JENECHQUE_BUENO_2542
0AFF: samp 3@ = car_handle_by_samp_vehicle_id 2@
056E: car 3@ defined
004D: jump_if_false @JENECHQUE_BUENO_2387
0050: gosub @JENECHQUE_BUENO_453
0001: wait 400 ms
056E: car 3@ defined
004D: jump_if_false @JENECHQUE_BUENO_2072
0050: gosub @JENECHQUE_BUENO_453
0B30: samp send_enter_vehicle 2@ as_passenger 0
0001: wait 350 ms
056E: car 3@ defined
004D: jump_if_false @JENECHQUE_BUENO_2072
0050: gosub @JENECHQUE_BUENO_453
036A: put_actor $PLAYER_ACTOR in_car 3@
0002: jump @JENECHQUE_BUENO_1269
:JENECHQUE_BUENO_1269
0001: wait 0 ms
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false @JENECHQUE_BUENO_1269
0687: clear_actor $PLAYER_ACTOR task
00AA: store_car 3@ position_to 9@ 10@ 11@
000B: 11@ += 50.0
00AB: put_car 3@ at 9@ 10@ 11@
0001: wait 10 ms
04BA: set_car 3@ speed_to 100.0
0001: wait 140 ms
0B31: samp send_exit_vehicle 2@
0001: wait 50 ms
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 6@ 7@ 8@
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_1377
0001: wait 0 ms
00D6: if
0039: 31@ == 5
004D: jump_if_false @JENECHQUE_BUENO_231
0B35: samp 1@ = get_last_command_params
0AD4: 30@ = scan_string 1@ format "%i" 2@
00D6: if
0039: 30@ == 1
004D: jump_if_false @JENECHQUE_BUENO_2447
0B20: samp 23@ = actor_handle_by_samp_player_id 2@
056D: actor 23@ defined
004D: jump_if_false @JENECHQUE_BUENO_1721
00DF: actor 23@ driving
004D: jump_if_false @JENECHQUE_BUENO_1658
03C0: 3@ = actor 23@ car
0B2C: samp 2@ = get_vehicle_id_by_car_handle 3@
09B3: get_car 3@ door_status 15@
00D6: if
0039: 15@ == 0
004D: jump_if_false @JENECHQUE_BUENO_1615
0002: jump @JENECHQUE_BUENO_1519
:JENECHQUE_BUENO_1519
0050: gosub @JENECHQUE_BUENO_453
0AB1: call_scm_func @JENECHQUE_BUENO_647 3 9@ 10@ 11@
0001: wait 400 ms
056E: car 3@ defined
004D: jump_if_false @JENECHQUE_BUENO_2072
0050: gosub @JENECHQUE_BUENO_453
0B30: samp send_enter_vehicle 2@ as_passenger 0
0001: wait 350 ms
056E: car 3@ defined
004D: jump_if_false @JENECHQUE_BUENO_2072
0050: gosub @JENECHQUE_BUENO_453
036A: put_actor $PLAYER_ACTOR in_car 3@
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_1615
0BD4: samp send_vehicle_destroyed 2@
0001: wait 350 ms
09B3: get_car 3@ door_status 15@
00D6: if
0039: 15@ == 0
004D: jump_if_false @JENECHQUE_BUENO_1975
0002: jump @JENECHQUE_BUENO_1519
:JENECHQUE_BUENO_1658
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Игрока не за рулём авто" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_1721
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Игрока не существует/вне зоны прорисовки" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_1801
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Нужно находится в машине на вод. месте" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_1879
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Автомобиль закрыт, открой его командой /caropen [id car]" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_1975
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Не удалось потушить закрытый автомобиль, попробуй еще раз" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_2072
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Ошибка! Автомобиль куда то пропал" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_2145
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Расстояние до машины должно быть не больше 130м. Дистанций: %.2f" color -1 19@
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_2252
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Нужно не находится в машине" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_2319
0AF8: samp add_message_to_chat "{cd0000}[CarHack]{ffffff}Ошибка, автомобиль уже открыт" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_2387
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Машины не существует" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_2447
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Неверный формат команды, правильно /takecar [ид игрока]" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_2542
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Неверный формат команды, правильно /thr [ид машины]" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_2633
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Неверный формат команды, правильно /caropen [ид машины]" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_2728
0AF8: samp add_message_to_chat "{cd0000}[CarHack] {ffffff}Неверный формат команды, правильно /burst [ид машины]" color -1
0002: jump @JENECHQUE_BUENO_2821
:JENECHQUE_BUENO_2821
0006: 31@ = 0
0006: 30@ = 0
0006: 2@ = 0
0002: jump @JENECHQUE_BUENO_231
:JENECHQUE_BUENO_2849
0006: 31@ = 5
0B43: samp cmd_ret
:JENECHQUE_BUENO_2858
0006: 31@ = 4
0B43: samp cmd_ret
:JENECHQUE_BUENO_2867
0006: 31@ = 3
0B43: samp cmd_ret
:JENECHQUE_BUENO_2876
0006: 31@ = 2
0B43: samp cmd_ret
:JENECHQUE_BUENO_2885
0006: 31@ = 1
0B43: samp cmd_ret
:JENECHQUE_BUENO_2894
0AC6: 0@ = label @JENECHQUE_BUENO_2962 offset
0B3B: samp show_dialog id 0 caption "{FF0000}CarHack: {ffffff}Info-List" text 0@ button_1 "Закрыть" button_2 "" style 0
0B43: samp cmd_ret
:JENECHQUE_BUENO_2962
hex
7B 63 64 30 30 30 30 7D 2F 62 75 72 73 74 20 7B
63 61 63 61 63 61 7D 5B 69 64 20 63 61 72 5D 20
2D 20 7B 66 66 66 66 66 66 7D CF EE E4 E6 E8 E3
E0 E5 F2 20 E0 E2 F2 EE EC EE E1 E8 EB FC 2E 20
C5 F1 EB E8 20 E0 E2 F2 EE EC EE E1 E8 EB FC 20
E7 E0 EA F0 FB F2 2C 20 F2 EE 20 F1 ED E0 F7 E0
EB EE 20 EE F2 EA F0 EE E5 F2 20 E5 E3 EE 2C 20
E0 20 EF EE F2 EE EC 20 E2 E7 EE F0 E2 B8 F2 2C
20 EF F0 EE E1 FC B8 F2 20 C0 ED F2 E8 CF D5 2E
0A 7B 63 64 30 30 30 30 7D 2F 74 68 72 20 7B 63
61 63 61 63 61 7D 5B 69 64 20 63 61 72 5D 20 2D
20 7B 66 66 66 66 66 66 7D EE F2 EF F0 E0 E2 E8
F2 FC 20 EA E0 F0 20 E2 20 ED E5 E1 EE 0A 7B 63
64 30 30 30 30 7D 2F 74 61 6B 65 63 61 72 20 7B
63 61 63 61 63 61 7D 5B 69 64 20 70 6C 61 79 65
72 5D 20 2D 20 7B 66 66 66 66 66 66 7D C7 E0 E1
F0 E0 F2 FC 20 EC E0 F8 E8 ED F3 20 F3 20 E8 E3
F0 EE EA E0 2C 20 E5 F1 EB E8 20 E0 E2 F2 EE 20
E7 E0 EA F0 FB F2 EE 2C 20 F2 EE 20 F1 ED E0 F7
E0 EB EE 20 EE F2 EA F0 EE E5 F2 2C 20 E0 20 F3
E6 E5 20 EF EE F2 EE EC 20 EF EE F1 E0 E4 E8 F2
20 E2 20 E0 E2 F2 EE 0A 7B 63 64 30 30 30 30 7D
2F 72 63 20 2D 20 7B 66 66 66 66 66 66 7D EF EE
F7 E8 ED E8 F2 FC 20 E0 E2 F2 EE EC EE E1 E8 EB
FC 20 E2 20 EA EE F2 EE F0 EE EC 20 F2 FB 20 F1
E8 E4 E8 F8 FC 0A 7B 63 64 30 30 30 30 7D 2F 63
61 72 6F 70 65 6E 20 7B 63 61 63 61 63 61 7D 5B
69 64 20 63 61 72 5D 20 2D 20 7B 66 66 66 66 66
66 7D EE F2 EA F0 FB F2 FC 20 E7 E0 EA F0 FB F2
FB E9 20 E0 E2 F2 EE EC EE E1 E8 EB FC 00 48 45
end