// 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
:Label000002
0001: wait 7000 ms
00D6: if
0AAB: file_exists "CLEO\Apple-Bot.ini"
004D: jump_if_false @Label00017B
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{6495ED} Скрипт {00ff00}загружен{6495ED}. Автор: {ff00ff}Clopster" color 16316671
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{6495ED} /ab{F8F8FF} - вкл/выкл. 'F10' (зажать) - алтернативное выключение" color 16316671
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{00ff00} Ответные фразы можно менять в Apple-Bot.ini" color 16316671
0002: jump @Label0004A0
:Label00017B
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{6495ED} Скрипт {00ff00}загружен{6495ED}. Автор: {ff00ff}Clopster" color 16316671
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{6495ED} /ab{F8F8FF} - вкл/выкл. 'P' (англ) - алтернативное выключение" color 16316671
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{00ff00} Ответные фразы можно менять в Apple-Bot.ini" color 16316671
0AF5: write_string "эй" to_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "1"
0AF5: write_string "что за" to_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "2"
0AF5: write_string "xnj pf" to_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "3"
0AF5: write_string "ай" to_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "4"
0AF5: write_string "ват" to_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "5"
0AF5: write_string "ай, зачем" to_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "6"
0AF5: write_string "кто это сделал" to_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "7"
0AF5: write_string "какого" to_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "8"
0AF5: write_string "зачем пинать" to_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "9"
0AF5: write_string "да епт" to_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "10"
:Label0004A0
0B34: samp register_client_command "ab" to_label @Label00235E
0AFA: is_samp_available
004D: jump_if_false @Label000002
:Label0004B4
0001: wait 0 ms
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label0006D2
0007: 7@ = 1940.583
0007: 8@ = 205.3621
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
:Label000536
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Label00059A
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{ff0000} Deactivated" color 16316671
0006: 10@ = 0
0C6E: destroy_custom_thread 31@
0C6E: destroy_custom_thread 30@
0C6E: destroy_custom_thread 14@
0AB3: var 1 = 0
:Label00059A
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label0006A2
0007: 7@ = 1940.583
0007: 8@ = 205.3621
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
0C72: set_virtual_key 87 down 1
0001: wait 100 ms
0209: 17@ = random_int_in_ranges 1 100
00D6: if
0039: 17@ == 5
004D: jump_if_false @Label000653
0B56: set_game_key 14 state 255
:Label000653
0C72: set_virtual_key 87 down 0
0007: 7@ = 1940.583
0007: 8@ = 205.3621
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0509: 19@ = distance_between_XY 7@ 8@ and_XY 17@ 18@
0002: jump @Label0006A9
:Label0006A2
0002: jump @Label0004B4
:Label0006A9
00ED: actor $PLAYER_ACTOR sphere 0 near_point 7@ 8@ radius 5.0 5.0 on_foot
004D: jump_if_false @Label000536
0001: wait 100 ms
0002: jump @Label0006D9
:Label0006D2
0002: jump @Label0004B4
:Label0006D9
0001: wait 0 ms
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label000A88
0006: 5@ = 0
:Label0006FD
0B50: samp 6@ = object_handle_by_id 5@
00D6: if
03CA: object 6@ exists
004D: jump_if_false @Label000A6B
0984: 12@ = object 6@ model
0AB4: 10@ = var 1
00D6: if and
0039: 10@ == 1
0039: 12@ == 19576
004D: jump_if_false @Label000A6B
01BB: store_object 6@ position_to 7@ 8@ 9@
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
00D6: if
04E5: object 6@ near_point 17@ 18@ radius 5.0 5.0 sphere 0
004D: jump_if_false @Label0007F8
0050: gosub @Label000C6E
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label0007EA
0001: wait 100 ms
0B56: set_game_key 15 state 255
0001: wait 100 ms
0B56: set_game_key 15 state 255
0001: wait 600 ms
04D7: set_actor $PLAYER_ACTOR locked 1
0002: jump @Label000B15
0002: jump @Label0007F1
:Label0007EA
0002: jump @Label0006D9
:Label0007F1
0002: jump @Label000A6B
:Label0007F8
00D6: if
83CA: not object 6@ exists
004D: jump_if_false @Label00080F
0002: jump @Label0006D9
:Label00080F
01BB: store_object 6@ position_to 7@ 8@ 9@
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
:Label00086E
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Label0008D2
0006: 10@ = 0
0C6E: destroy_custom_thread 31@
0C6E: destroy_custom_thread 30@
0C6E: destroy_custom_thread 14@
0AB3: var 1 = 0
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{ff0000} Deactivated" color 16316671
:Label0008D2
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label0009FD
00D6: if
83CA: not object 6@ exists
004D: jump_if_false @Label000902
0002: jump @Label0006D9
:Label000902
01BB: store_object 6@ position_to 7@ 8@ 9@
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
0C72: set_virtual_key 87 down 1
0001: wait 100 ms
0209: 17@ = random_int_in_ranges 1 500
00D6: if
0039: 17@ == 5
004D: jump_if_false @Label00099D
0B56: set_game_key 14 state 255
:Label00099D
0C72: set_virtual_key 87 down 0
00D6: if
83CA: not object 6@ exists
004D: jump_if_false @Label0009BA
0002: jump @Label0006D9
:Label0009BA
01BB: store_object 6@ position_to 7@ 8@ 9@
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0509: 19@ = distance_between_XY 7@ 8@ and_XY 17@ 18@
0002: jump @Label000A04
:Label0009FD
0002: jump @Label0006D9
:Label000A04
00ED: actor $PLAYER_ACTOR sphere 0 near_point 7@ 8@ radius 2.0 2.0 on_foot
004D: jump_if_false @Label00086E
0050: gosub @Label000C6E
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label000A6B
0001: wait 100 ms
0B56: set_game_key 15 state 255
0001: wait 100 ms
0B56: set_game_key 15 state 255
0001: wait 600 ms
04D7: set_actor $PLAYER_ACTOR locked 1
0002: jump @Label000B15
:Label000A6B
000A: 5@ += 1
0019: 5@ > 999
004D: jump_if_false @Label0006FD
0002: jump @Label000A8F
:Label000A88
0002: jump @Label0006D9
:Label000A8F
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label000B0E
0001: wait 60000 ms
0007: 7@ = 1940.583
0007: 8@ = 205.3621
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
0C72: set_virtual_key 87 down 1
0001: wait 1000 ms
0C72: set_virtual_key 87 down 0
0002: jump @Label0006D9
:Label000B0E
0002: jump @Label0006D9
:Label000B15
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label000C67
0006: 1@ = 0
:Label000B35
0085: 16@ = 1@ // (int)
0BB3: samp 0@ = get_textdraw_pool_ptr
0006: 2@ = 4
006A: 2@ *= 1@ // (int)
000A: 2@ += 8192
0C0C: 4@ = struct 0@ offset 2@ size 4
00D6: if
8039: not 4@ == 0
004D: jump_if_false @Label000C43
0085: 3@ = 0@ // (int)
000A: 3@ += 17408
0006: 2@ = 4
006A: 2@ *= 1@ // (int)
0C0C: 4@ = struct 3@ offset 2@ size 4
0C0C: 20@ = struct 4@ offset 2443 size 4
0C0C: 21@ = struct 4@ offset 2447 size 4
000A: 16@ += 2048
0AC8: 17@ = allocate_memory_size 256
0C5A: samp textdraw 16@ get_string_to 17@
00D6: if
0C14: strcmp string1 17@ string2 "Green apples"
004D: jump_if_false @Label000C43
0AC9: free_allocated_memory 17@
04D7: set_actor $PLAYER_ACTOR locked 0
0002: jump @Label000F06
:Label000C43
000A: 1@ += 1
0019: 1@ > 255
004D: jump_if_false @Label000B35
04D7: set_actor $PLAYER_ACTOR locked 0
0002: jump @Label0018C2
:Label000C67
0002: jump @Label0004B4
:Label000C6E
0001: wait 0 ms
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label000F04
0006: 5@ = 0
:Label000C92
0B50: samp 6@ = object_handle_by_id 5@
00D6: if
03CA: object 6@ exists
004D: jump_if_false @Label000EEE
0984: 12@ = object 6@ model
00A0: store_actor $PLAYER_ACTOR position_to 7@ 8@ 9@
0AB4: 10@ = var 1
00D6: if and
0039: 10@ == 1
0039: 12@ == 673
04E5: object 6@ near_point 7@ 8@ radius 5.0 5.0 sphere 0
004D: jump_if_false @Label000EEE
00D6: if
83CA: not object 6@ exists
004D: jump_if_false @Label000D0F
0002: jump @Label0006D9
:Label000D0F
01BB: store_object 6@ position_to 7@ 8@ 9@
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
:Label000D6E
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Label000DD2
0006: 10@ = 0
0C6E: destroy_custom_thread 31@
0C6E: destroy_custom_thread 30@
0C6E: destroy_custom_thread 14@
0AB3: var 1 = 0
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{ff0000} Deactivated" color 16316671
:Label000DD2
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label000EC9
00D6: if
83CA: not object 6@ exists
004D: jump_if_false @Label000E02
0002: jump @Label0006D9
:Label000E02
01BB: store_object 6@ position_to 7@ 8@ 9@
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
0C72: set_virtual_key 87 down 1
0001: wait 100 ms
0C72: set_virtual_key 87 down 0
00D6: if
83CA: not object 6@ exists
004D: jump_if_false @Label000E88
0002: jump @Label0006D9
:Label000E88
01BB: store_object 6@ position_to 7@ 8@ 9@
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0002: jump @Label000ED0
:Label000EC9
0002: jump @Label0006D9
:Label000ED0
00ED: actor $PLAYER_ACTOR sphere 0 near_point 7@ 8@ radius 1.0 1.0 on_foot
004D: jump_if_false @Label000D6E
:Label000EEE
000A: 5@ += 1
0019: 5@ > 999
004D: jump_if_false @Label000C92
:Label000F04
0051: return
:Label000F06
0001: wait 0 ms
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label001777
0006: 1@ = 0
:Label000F2A
0085: 16@ = 1@ // (int)
0BB3: samp 0@ = get_textdraw_pool_ptr
0006: 2@ = 4
006A: 2@ *= 1@ // (int)
000A: 2@ += 8192
0C0C: 4@ = struct 0@ offset 2@ size 4
00D6: if
8039: not 4@ == 0
004D: jump_if_false @Label001753
0085: 3@ = 0@ // (int)
000A: 3@ += 17408
0006: 2@ = 4
006A: 2@ *= 1@ // (int)
0C0C: 4@ = struct 3@ offset 2@ size 4
0C0C: 20@ = struct 4@ offset 2443 size 4
0C0C: 21@ = struct 4@ offset 2447 size 4
000A: 16@ += 2048
0AC8: 17@ = allocate_memory_size 128
0C5A: samp textdraw 16@ get_string_to 17@
0AC8: 29@ = allocate_memory_size 128
0AB4: 10@ = var 1
00D6: if and
0039: 10@ == 1
0C18: 29@ = strstr string1 17@ string2 "~g~KG"
004D: jump_if_false @Label001679
0C5A: samp textdraw 16@ get_string_to 17@
0001: wait 10 ms
0AA5: call 8528045 num_params 3 pop 3 28@v "%d/10 ~g~KG" 17@
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label001672
00D6: if
0039: 28@ == 9
004D: jump_if_false @Label001666
0AC9: free_allocated_memory 17@
0050: gosub @Label00177E
0007: 7@ = 1914.771
0007: 8@ = 172.6652
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
:Label00111C
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Label001180
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{ff0000} Deactivated" color 16316671
0006: 10@ = 0
0C6E: destroy_custom_thread 31@
0C6E: destroy_custom_thread 30@
0C6E: destroy_custom_thread 14@
0AB3: var 1 = 0
:Label001180
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label001288
0007: 7@ = 1914.771
0007: 8@ = 172.6652
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
0C72: set_virtual_key 87 down 1
0001: wait 100 ms
0209: 17@ = random_int_in_ranges 1 100
00D6: if
0039: 17@ == 5
004D: jump_if_false @Label001239
0B56: set_game_key 14 state 255
:Label001239
0C72: set_virtual_key 87 down 0
0007: 7@ = 1914.771
0007: 8@ = 172.6652
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0509: 19@ = distance_between_XY 7@ 8@ and_XY 17@ 18@
0002: jump @Label00128F
:Label001288
0002: jump @Label0006D9
:Label00128F
00ED: actor $PLAYER_ACTOR sphere 0 near_point 7@ 8@ radius 0.5 0.5 on_foot
004D: jump_if_false @Label00111C
0007: 7@ = 1913.013
0007: 8@ = 165.2188
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
:Label001312
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Label001376
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{ff0000} Deactivated" color 16316671
0006: 10@ = 0
0C6E: destroy_custom_thread 31@
0C6E: destroy_custom_thread 30@
0C6E: destroy_custom_thread 14@
0AB3: var 1 = 0
:Label001376
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label00145C
0007: 7@ = 1913.013
0007: 8@ = 165.2188
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
0C72: set_virtual_key 87 down 1
0001: wait 100 ms
0C72: set_virtual_key 87 down 0
0007: 7@ = 1913.013
0007: 8@ = 165.2188
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0509: 19@ = distance_between_XY 7@ 8@ and_XY 17@ 18@
0002: jump @Label001463
:Label00145C
0002: jump @Label0006D9
:Label001463
00ED: actor $PLAYER_ACTOR sphere 0 near_point 7@ 8@ radius 0.5 0.5 on_foot
004D: jump_if_false @Label001312
0001: wait 1000 ms
0007: 7@ = 1914.771
0007: 8@ = 172.6652
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
:Label0014EB
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Label00154F
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{ff0000} Deactivated" color 16316671
0006: 10@ = 0
0C6E: destroy_custom_thread 31@
0C6E: destroy_custom_thread 30@
0C6E: destroy_custom_thread 14@
0AB3: var 1 = 0
:Label00154F
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label001633
0007: 7@ = 1914.771
0007: 8@ = 172.6652
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
0C72: set_virtual_key 87 down 1
0001: wait 100 ms
0C72: set_virtual_key 87 down 0
0007: 7@ = 1914.771
0007: 8@ = 172.6652
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0509: 19@ = distance_between_XY 7@ 8@ and_XY 17@ 18@
0002: jump @Label00163A
:Label001633
0002: jump @Label0006D9
:Label00163A
00ED: actor $PLAYER_ACTOR sphere 0 near_point 7@ 8@ radius 0.5 0.5 on_foot
004D: jump_if_false @Label0014EB
0002: jump @Label0004B4
0002: jump @Label00166B
:Label001666
0AC9: free_allocated_memory 17@
:Label00166B
0002: jump @Label001679
:Label001672
0002: jump @Label0006D9
:Label001679
0C59: samp textdraw 16@ get_model 15@ rotation 22@ 23@ 24@ zoom 25@ veh_color 26@ 27@
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label001753
00D6: if
0039: 15@ == 19576
004D: jump_if_false @Label001753
0BCA: samp send_click_textdraw 16@
0001: wait 300 ms
00D6: if
0C5D: samp textdraw 16@ is_exists
004D: jump_if_false @Label001705
0050: gosub @Label00177E
0002: jump @Label000F06
:Label001705
0B2B: samp 0@ = get_player_id_by_actor_handle $PLAYER_ACTOR
0B57: samp 13@ = player 0@ animation_id
00D6: if
0039: 13@ == 1121
004D: jump_if_false @Label00172D
0001: wait 200 ms
:Label00172D
00D6: if
0039: 13@ == 636
004D: jump_if_false @Label001745
0001: wait 7000 ms
:Label001745
04D7: set_actor $PLAYER_ACTOR locked 0
0002: jump @Label0006D9
:Label001753
000A: 1@ += 1
0019: 1@ > 255
004D: jump_if_false @Label000F2A
0050: gosub @Label00177E
0002: jump @Label0006D9
:Label001777
0002: jump @Label0006D9
:Label00177E
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label0018C0
0006: 1@ = 0
:Label00179E
0085: 16@ = 1@ // (int)
0BB3: samp 0@ = get_textdraw_pool_ptr
0006: 2@ = 4
006A: 2@ *= 1@ // (int)
000A: 2@ += 8192
0C0C: 4@ = struct 0@ offset 2@ size 4
00D6: if
8039: not 4@ == 0
004D: jump_if_false @Label0018AA
0085: 3@ = 0@ // (int)
000A: 3@ += 17408
0006: 2@ = 4
006A: 2@ *= 1@ // (int)
0C0C: 4@ = struct 3@ offset 2@ size 4
0C0C: 20@ = struct 4@ offset 2443 size 4
0C0C: 21@ = struct 4@ offset 2447 size 4
000A: 16@ += 2048
0AC8: 17@ = allocate_memory_size 256
0C5A: samp textdraw 16@ get_string_to 17@
0AB4: 10@ = var 1
00D6: if and
0039: 10@ == 1
0C14: strcmp string1 17@ string2 "Close"
004D: jump_if_false @Label0018AA
0BCA: samp send_click_textdraw 16@
0AC9: free_allocated_memory 17@
:Label0018AA
000A: 1@ += 1
0019: 1@ > 255
004D: jump_if_false @Label00179E
:Label0018C0
0051: return
:Label0018C2
0001: wait 0 ms
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label001CA5
0007: 7@ = 1929.536
0007: 8@ = 168.0809
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
:Label001944
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Label0019A8
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{ff0000} Deactivated" color 16316671
0006: 10@ = 0
0C6E: destroy_custom_thread 31@
0C6E: destroy_custom_thread 30@
0C6E: destroy_custom_thread 14@
0AB3: var 1 = 0
:Label0019A8
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label001AB0
0007: 7@ = 1929.536
0007: 8@ = 168.0809
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
0C72: set_virtual_key 87 down 1
0001: wait 100 ms
0209: 17@ = random_int_in_ranges 1 100
00D6: if
0039: 17@ == 5
004D: jump_if_false @Label001A61
0B56: set_game_key 14 state 255
:Label001A61
0C72: set_virtual_key 87 down 0
0007: 7@ = 1929.536
0007: 8@ = 168.0809
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0509: 19@ = distance_between_XY 7@ 8@ and_XY 17@ 18@
0002: jump @Label001AB7
:Label001AB0
0002: jump @Label0018C2
:Label001AB7
00ED: actor $PLAYER_ACTOR sphere 0 near_point 7@ 8@ radius 1.0 1.0 on_foot
004D: jump_if_false @Label001944
0001: wait 1000 ms
00D6: if
0B4C: samp is_dialog_active -1
004D: jump_if_false @Label001AED
0B47: samp close_current_dialog_with_button 1
:Label001AED
0001: wait 300 ms
0C72: set_virtual_key 83 down 1
0001: wait 1500 ms
0C72: set_virtual_key 83 down 0
0001: wait 300 ms
0C72: set_virtual_key 87 down 1
0001: wait 1000 ms
0C72: set_virtual_key 87 down 0
:Label001B19
00D6: if
0AB0: key_pressed 121
004D: jump_if_false @Label001B7D
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{ff0000} Deactivated" color 16316671
0006: 10@ = 0
0C6E: destroy_custom_thread 31@
0C6E: destroy_custom_thread 30@
0C6E: destroy_custom_thread 14@
0AB3: var 1 = 0
:Label001B7D
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label001C63
0007: 7@ = 1929.536
0007: 8@ = 168.0809
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0063: 7@ -= 17@ // (float)
0063: 8@ -= 18@ // (float)
0604: get_Z_angle_for_point 7@ 8@ store_to 20@
0173: set_actor $PLAYER_ACTOR Z_angle_to 20@
02EB: restore_camera_with_jumpcut
0C72: set_virtual_key 87 down 1
0001: wait 100 ms
0C72: set_virtual_key 87 down 0
0007: 7@ = 1929.536
0007: 8@ = 168.0809
00A0: store_actor $PLAYER_ACTOR position_to 17@ 18@ 19@
0509: 19@ = distance_between_XY 7@ 8@ and_XY 17@ 18@
0002: jump @Label001C6A
:Label001C63
0002: jump @Label0018C2
:Label001C6A
00ED: actor $PLAYER_ACTOR sphere 0 near_point 7@ 8@ radius 1.0 1.0 on_foot
004D: jump_if_false @Label001B19
0001: wait 1000 ms
00D6: if
0B4C: samp is_dialog_active -1
004D: jump_if_false @Label001CA0
0B47: samp close_current_dialog_with_button 1
:Label001CA0
0001: wait 1000 ms
:Label001CA5
0002: jump @Label0004B4
:Label001CAC
0001: wait 0 ms
00A0: store_actor $PLAYER_ACTOR position_to 0@ 1@ 2@
0001: wait 300 ms
00A0: store_actor $PLAYER_ACTOR position_to 0@ 1@ 3@
0063: 3@ -= 2@ // (float)
00D6: if
0021: 3@ > 1.5
004D: jump_if_false @Label002213
0209: 4@ = random_int_in_ranges 1 10
0AC8: 11@ = allocate_memory_size 32
00D6: if
0039: 4@ == 1
004D: jump_if_false @Label001D9B
0AF4: 11@ = read_string_from_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "1"
0AB3: var 1 = 0
0001: wait 5000 ms
0AF9: samp say_msg "%s" 11@
0001: wait 5000 ms
0AB3: var 1 = 1
0AC9: free_allocated_memory 11@
:Label001D9B
00D6: if
0039: 4@ == 2
004D: jump_if_false @Label001E1A
0AF4: 11@ = read_string_from_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "2"
0AB3: var 1 = 0
0001: wait 5000 ms
0AF9: samp say_msg "%s" 11@
0001: wait 5000 ms
0AB3: var 1 = 1
0AC9: free_allocated_memory 11@
:Label001E1A
00D6: if
0039: 4@ == 3
004D: jump_if_false @Label001E99
0AF4: 11@ = read_string_from_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "3"
0AB3: var 1 = 0
0001: wait 5000 ms
0AF9: samp say_msg "%s" 11@
0001: wait 5000 ms
0AB3: var 1 = 1
0AC9: free_allocated_memory 11@
:Label001E99
00D6: if
0039: 4@ == 4
004D: jump_if_false @Label001F18
0AF4: 11@ = read_string_from_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "4"
0AB3: var 1 = 0
0001: wait 5000 ms
0AF9: samp say_msg "%s" 11@
0001: wait 5000 ms
0AB3: var 1 = 1
0AC9: free_allocated_memory 11@
:Label001F18
00D6: if
0039: 4@ == 5
004D: jump_if_false @Label001F97
0AF4: 11@ = read_string_from_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "5"
0AB3: var 1 = 0
0001: wait 5000 ms
0AF9: samp say_msg "%s" 11@
0001: wait 5000 ms
0AB3: var 1 = 1
0AC9: free_allocated_memory 11@
:Label001F97
00D6: if
0039: 4@ == 6
004D: jump_if_false @Label002016
0AF4: 11@ = read_string_from_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "6"
0AB3: var 1 = 0
0001: wait 5000 ms
0AF9: samp say_msg "%s" 11@
0001: wait 5000 ms
0AB3: var 1 = 1
0AC9: free_allocated_memory 11@
:Label002016
00D6: if
0039: 4@ == 7
004D: jump_if_false @Label002095
0AF4: 11@ = read_string_from_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "7"
0AB3: var 1 = 0
0001: wait 5000 ms
0AF9: samp say_msg "%s" 11@
0001: wait 5000 ms
0AB3: var 1 = 1
0AC9: free_allocated_memory 11@
:Label002095
00D6: if
0039: 4@ == 8
004D: jump_if_false @Label002114
0AF4: 11@ = read_string_from_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "8"
0AB3: var 1 = 0
0001: wait 5000 ms
0AF9: samp say_msg "%s" 11@
0001: wait 5000 ms
0AB3: var 1 = 1
0AC9: free_allocated_memory 11@
:Label002114
00D6: if
0039: 4@ == 9
004D: jump_if_false @Label002193
0AF4: 11@ = read_string_from_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "9"
0AB3: var 1 = 0
0001: wait 5000 ms
0AF9: samp say_msg "%s" 11@
0001: wait 5000 ms
0AB3: var 1 = 1
0AC9: free_allocated_memory 11@
:Label002193
00D6: if
0039: 4@ == 10
004D: jump_if_false @Label002213
0AF4: 11@ = read_string_from_ini_file "cleo\Apple-Bot.ini" section "Если слапнут" key "10"
0AB3: var 1 = 0
0001: wait 5000 ms
0AF9: samp say_msg "%s" 11@
0001: wait 5000 ms
0AB3: var 1 = 1
0AC9: free_allocated_memory 11@
:Label002213
0002: jump @Label001CAC
:Label00221A
0001: wait 0 ms
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label00228E
0006: 5@ = 0
:Label00223E
0B50: samp 6@ = object_handle_by_id 5@
00D6: if
03CA: object 6@ exists
004D: jump_if_false @Label002278
0984: 12@ = object 6@ model
00D6: if
0039: 12@ == 1437
004D: jump_if_false @Label002278
0382: set_object 6@ collision_detection 0
:Label002278
000A: 5@ += 1
0019: 5@ > 999
004D: jump_if_false @Label00223E
:Label00228E
0002: jump @Label00221A
:Label002295
0001: wait 0 ms
0AB4: 10@ = var 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label002357
00D6: if
0118: actor $PLAYER_ACTOR dead
004D: jump_if_false @Label002301
0AB3: var 1 = 0
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{ff0000} Deactivated" color 16316671
:Label002301
077E: get_active_interior_to 1@
00D6: if
0019: 1@ > 0
004D: jump_if_false @Label002357
0AB3: var 1 = 0
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{ff0000} Deactivated" color 16316671
:Label002357
0002: jump @Label002295
:Label00235E
0B12: 10@ = 10@ XOR 1
00D6: if
0039: 10@ == 1
004D: jump_if_false @Label0023DF
0AB3: var 1 = 1
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{00ff00} Activated" color 16316671
0C6A: 31@ = create_custom_thread_at_label @Label001CAC
0C6A: 30@ = create_custom_thread_at_label @Label00221A
0C6A: 14@ = create_custom_thread_at_label @Label002295
0002: jump @Label00242D
:Label0023DF
0AB3: var 1 = 0
0AF8: samp add_message_to_chat "[{6495ED}Apple-Bot{F8F8FF}]{ff0000} Deactivated" color 16316671
0C6E: destroy_custom_thread 31@
0C6E: destroy_custom_thread 30@
0C6E: destroy_custom_thread 14@
:Label00242D
0B43: samp cmd_ret