// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
0662: printstring "==============================================================="
0662: printstring "My VK: vk.com/id138101483"
0662: printstring "My Skype: hackes8"
0662: printstring "Group VK: vk.com/by_air"
0662: printstring "My YouTube Channel: www.youtube.com/spacebmxair"
0662: printstring "All rights reserved ©"
0662: printstring "==============================================================="
03A4: name_thread '#byAIR ©'
:Label000132
0001: wait 0 ms
0AFA: is_samp_available
004D: jump_if_false @Label000132
:Label00013F
0001: wait 0 ms
0B61: samp is_local_player_spawned
004D: jump_if_false @Label00013F
0AC8: 1@ = allocate_memory_size 360
0C11: memset destination 1@ value 0 size 360
0C20: string_array 1@ element 0 size 40 = "Buy1"
0C20: string_array 1@ element 1 size 40 = "Buy2"
0C20: string_array 1@ element 2 size 40 = "Buy3"
0C20: string_array 1@ element 3 size 40 = "Buy4"
0C20: string_array 1@ element 4 size 40 = "Buy5"
0C20: string_array 1@ element 5 size 40 = "Buy6"
0C20: string_array 1@ element 6 size 40 = "Buy7"
0C20: string_array 1@ element 7 size 40 = "Buy8"
0AC8: 7@ = allocate_memory_size 256
0C11: memset destination 7@ value 0 size 256
00D6: if
0AAB: file_exists "CLEO\AutoBuy"
004D: jump_if_false @Label00021D
0AB1: call_scm_func @Label002D0D 2 256 7@ 7@
0002: jump @Label00022D
:Label00021D
0AB1: call_scm_func @Label002CBB 2 256 7@
:Label00022D
0006: 5@ = 0
0006: 2@ = 0
0006: 4@ = 0
0006: 6@ = 0
0006: 11@ = 0
0006: 12@ = 0
0006: 13@ = 0
0006: 14@ = 0
01BD: 9@ = current_time_in_ms
01BD: 10@ = current_time_in_ms
0062: 10@ -= 13@ // (int)
0B80: dialog 0@ = create "{FFFFFF}AutoBuy_{CC0000}by AIR{FFFFFF}"
0B93: dialog 0@ set_background_color -1890559626
0AB1: call_scm_func @Label00157F 3 0@ 400 90
0B91: dialog 0@ add_static id 1 text "{FFFF00}Выберите сервер:" pos_XY 130 5 size 150 20
0B91: dialog 0@ add_static id 11 text "{FFFF00}Без задержки" pos_XY 290 1 size 150 20
0B82: dialog 0@ add_button id 2 text "ArizonaRP" pos_XY 10 30 size 125 30
0B82: dialog 0@ add_button id 3 text "AdvanceRP" pos_XY 135 30 size 125 30
0B82: dialog 0@ add_button id 4 text "DiamondRP" pos_XY 260 30 size 125 30
0B91: dialog 0@ add_static id 5 text "{FFFF00}Выберите количество:" pos_XY 10 80 size 180 20
0B96: dialog 0@ add_slider id 6 pos_XY 200 65 size 170 30 max 999
0B91: dialog 0@ add_static id 7 text "{FFFF00}1" pos_XY 275 90 size 30 30
0B82: dialog 0@ add_button id 8 text "<<" pos_XY 230 95 size 30 20
0B82: dialog 0@ add_button id 9 text ">>" pos_XY 315 95 size 30 20
0B82: dialog 0@ add_button id 10 text "..." pos_XY 350 95 size 20 20
0C1F: 8@ = string_array 1@ element 0 size 40
0B83: dialog 0@ add_checkbox id 12 text 8@ pos_XY 10 115 size 195 30
0C1F: 8@ = string_array 1@ element 1 size 40
0B83: dialog 0@ add_checkbox id 13 text 8@ pos_XY 210 115 size 195 30
0C1F: 8@ = string_array 1@ element 2 size 40
0B83: dialog 0@ add_checkbox id 14 text 8@ pos_XY 10 145 size 195 30
0C1F: 8@ = string_array 1@ element 3 size 40
0B83: dialog 0@ add_checkbox id 15 text 8@ pos_XY 210 145 size 195 30
0C1F: 8@ = string_array 1@ element 4 size 40
0B83: dialog 0@ add_checkbox id 16 text 8@ pos_XY 10 175 size 195 30
0C1F: 8@ = string_array 1@ element 5 size 40
0B83: dialog 0@ add_checkbox id 17 text 8@ pos_XY 210 175 size 195 30
0C1F: 8@ = string_array 1@ element 6 size 40
0B83: dialog 0@ add_checkbox id 18 text 8@ pos_XY 10 205 size 195 30
0C1F: 8@ = string_array 1@ element 7 size 40
0B83: dialog 0@ add_checkbox id 19 text 8@ pos_XY 210 205 size 195 30
0AB1: call_scm_func @Label0018E8 6 0@ 6@ 5@ 1@ 7@ 12@ 6@ 13@
0AB1: call_scm_func @Label001679 4 0@ 5 19 0 5@
0B86: dialog 0@ set_visible 0
0BE1: raknet setup_outcoming_rpc_hook -12736
0BE3: raknet setup_incoming_rpc_hook -11618
0B34: samp register_client_command "abuy" to_label @Label001542
0AF8: samp add_message_to_chat "[AutoBuy {CC0000}by AIR{33FF33}]: {FFFFFF}Loaded! (/abuy)" color 3407667
:Label00059B
0001: wait 0 ms
00D6: if
0039: 2@ == 1
004D: jump_if_false @Label000F7C
00D6: if
0B87: dialog 0@ is_visible
004D: jump_if_false @Label000F68
00D6: if
8B8C: not samp is_cursor_active
004D: jump_if_false @Label0005D9
0B5D: samp toggle_cursor 1
0002: jump @Label000F16
:Label0005D9
00D6: if
0AB0: key_pressed 2
004D: jump_if_false @Label0005FF
0AB1: call_scm_func @Label0015D1 2 0@ 5@
0002: jump @Label000F16
:Label0005FF
00D6: if
0B81: dialog 0@ pop_event_to 3@ control_id_to 4@
004D: jump_if_false @Label000F16
00D6: if
0039: 3@ == 257
004D: jump_if_false @Label000CEE
00D6: if
0039: 4@ == 2
004D: jump_if_false @Label000769
00D6: if
003B: 5@ == 4@ // (int)
004D: jump_if_false @Label00065B
0050: gosub @Label001AFA
0002: jump @Label000762
:Label00065B
0AB1: call_scm_func @Label001679 4 0@ 5 19 0 5@
0B94: dialog 0@ set_control 1 text "{FFFF00}Arizona Role Play"
0085: 5@ = 4@ // (int)
0006: 12@ = 0
0C1D: 14@ = array 7@ element 70 el_size 2
0C20: string_array 1@ element 0 size 40 = "Чипсы"
0C20: string_array 1@ element 1 size 40 = "Спранк"
0C20: string_array 1@ element 2 size 40 = "Пиво"
0C20: string_array 1@ element 3 size 40 = "Скрепки"
0C20: string_array 1@ element 4 size 40 = "Маска"
0C20: string_array 1@ element 5 size 40 = "Сигареты"
0C20: string_array 1@ element 6 size 40 = "Аптечки"
0C20: string_array 1@ element 7 size 40 = "Бронежилет"
0AB1: call_scm_func @Label001CB7 3 0@ 7@ 0
0AB1: call_scm_func @Label001E01 2 5@ 7@ 6@ 13@
:Label000762
0002: jump @Label000B52
:Label000769
00D6: if
0039: 4@ == 3
004D: jump_if_false @Label00089A
00D6: if
003B: 5@ == 4@ // (int)
004D: jump_if_false @Label00079C
0050: gosub @Label001AFA
0002: jump @Label000893
:Label00079C
0AB1: call_scm_func @Label001679 4 0@ 5 19 0 5@
0B94: dialog 0@ set_control 1 text "{FFFF00}Advance Role Play"
0085: 5@ = 4@ // (int)
0006: 12@ = 0
0C1D: 14@ = array 7@ element 71 el_size 2
0C20: string_array 1@ element 0 size 40 = "Аптечка"
0C20: string_array 1@ element 1 size 40 = "Маска"
0C20: string_array 1@ element 2 size 40 = "Buy3"
0C20: string_array 1@ element 3 size 40 = "Buy4"
0C20: string_array 1@ element 4 size 40 = "Buy5"
0C20: string_array 1@ element 5 size 40 = "Buy6"
0C20: string_array 1@ element 6 size 40 = "Buy7"
0C20: string_array 1@ element 7 size 40 = "Buy8"
0AB1: call_scm_func @Label001CB7 3 0@ 7@ 22
0AB1: call_scm_func @Label001E01 2 5@ 7@ 6@ 13@
:Label000893
0002: jump @Label000B52
:Label00089A
00D6: if
0039: 4@ == 4
004D: jump_if_false @Label0009D9
00D6: if
003B: 5@ == 4@ // (int)
004D: jump_if_false @Label0008CD
0050: gosub @Label001AFA
0002: jump @Label0009D2
:Label0008CD
0AB1: call_scm_func @Label001679 4 0@ 5 19 0 5@
0B94: dialog 0@ set_control 1 text "{FFFF00}Diamond Role Play"
0085: 5@ = 4@ // (int)
0006: 12@ = 0
0C1D: 14@ = array 7@ element 72 el_size 2
0C20: string_array 1@ element 0 size 40 = "Аптечка"
0C20: string_array 1@ element 1 size 40 = "Маска"
0C20: string_array 1@ element 2 size 40 = "Скрепка"
0C20: string_array 1@ element 3 size 40 = "Мешок"
0C20: string_array 1@ element 4 size 40 = "Веревка"
0C20: string_array 1@ element 5 size 40 = "Пачка углей"
0C20: string_array 1@ element 6 size 40 = "Buy7"
0C20: string_array 1@ element 7 size 40 = "Buy8"
0AB1: call_scm_func @Label001CB7 3 0@ 7@ 44
0AB1: call_scm_func @Label001E01 2 5@ 7@ 6@ 13@
:Label0009D2
0002: jump @Label000B52
:Label0009D9
00D6: if
0039: 4@ == 8
004D: jump_if_false @Label000A2D
00D6: if
0019: 6@ > 0
004D: jump_if_false @Label000A26
000E: 6@ -= 1
0AB1: call_scm_func @Label0018E8 6 0@ 6@ 5@ 1@ 7@ 12@ 6@ 13@
:Label000A26
0002: jump @Label000B52
:Label000A2D
00D6: if
0039: 4@ == 9
004D: jump_if_false @Label000A82
00D6: if
8029: not 6@ >= 999
004D: jump_if_false @Label000A7B
000A: 6@ += 1
0AB1: call_scm_func @Label0018E8 6 0@ 6@ 5@ 1@ 7@ 12@ 6@ 13@
:Label000A7B
0002: jump @Label000B52
:Label000A82
00D6: if
0039: 4@ == 10
004D: jump_if_false @Label000B52
0006: 12@ = 0
0B12: 14@ = 14@ XOR 1
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label000AC8
0B97: dialog 0@ slider 6 get_value_to 13@
0002: jump @Label000ACF
:Label000AC8
0006: 13@ = 0
:Label000ACF
00D6: if
0039: 5@ == 2
004D: jump_if_false @Label000AFD
0AB1: call_scm_func @Label002C1D 4 0 13@ 7@ 14@
0002: jump @Label000B52
:Label000AFD
00D6: if
0039: 5@ == 3
004D: jump_if_false @Label000B2B
0AB1: call_scm_func @Label002C1D 4 22 13@ 7@ 14@
0002: jump @Label000B52
:Label000B2B
00D6: if
0039: 5@ == 4
004D: jump_if_false @Label000B52
0AB1: call_scm_func @Label002C1D 4 44 13@ 7@ 14@
:Label000B52
0C1F: 8@ = string_array 1@ element 0 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 12 7@
0C1F: 8@ = string_array 1@ element 1 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 13 7@
0C1F: 8@ = string_array 1@ element 2 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 14 7@
0C1F: 8@ = string_array 1@ element 3 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 15 7@
0C1F: 8@ = string_array 1@ element 4 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 16 7@
0C1F: 8@ = string_array 1@ element 5 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 17 7@
0C1F: 8@ = string_array 1@ element 6 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 18 7@
0C1F: 8@ = string_array 1@ element 7 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 19 7@
01BD: 9@ = current_time_in_ms
01BD: 10@ = current_time_in_ms
0062: 10@ -= 13@ // (int)
0AB1: call_scm_func @Label0018E8 6 0@ 6@ 5@ 1@ 7@ 12@ 6@ 13@
0AB1: call_scm_func @Label001D19 4 0@ 6 5@ 7@ 6@ 13@
0AB1: call_scm_func @Label002B22 4 0@ 14@ 5@ 7@
0AB1: call_scm_func @Label001679 4 0@ 5 19 5@ 5@
:Label000CEE
00D6: if
0039: 3@ == 1025
004D: jump_if_false @Label000D8A
00D6: if
0039: 5@ == 2
004D: jump_if_false @Label000D31
0AB1: call_scm_func @Label001BC9 4 0@ 7@ 0 12 12@
0002: jump @Label000D8A
:Label000D31
00D6: if
0039: 5@ == 3
004D: jump_if_false @Label000D61
0AB1: call_scm_func @Label001BC9 4 0@ 7@ 22 34 12@
0002: jump @Label000D8A
:Label000D61
00D6: if
0039: 5@ == 4
004D: jump_if_false @Label000D8A
0AB1: call_scm_func @Label001BC9 4 0@ 7@ 44 56 12@
:Label000D8A
00D6: if
0039: 3@ == 1281
004D: jump_if_false @Label000F16
0B97: dialog 0@ slider 6 get_value_to 6@
0AB1: call_scm_func @Label0018E8 6 0@ 6@ 5@ 1@ 7@ 12@ 6@ 13@
0AB1: call_scm_func @Label001D19 4 0@ 6 5@ 7@ 6@ 13@
0C1F: 8@ = string_array 1@ element 0 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 12 7@
0C1F: 8@ = string_array 1@ element 1 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 13 7@
0C1F: 8@ = string_array 1@ element 2 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 14 7@
0C1F: 8@ = string_array 1@ element 3 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 15 7@
0C1F: 8@ = string_array 1@ element 4 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 16 7@
0C1F: 8@ = string_array 1@ element 5 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 17 7@
0C1F: 8@ = string_array 1@ element 6 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 18 7@
0C1F: 8@ = string_array 1@ element 7 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 19 7@
01BD: 9@ = current_time_in_ms
01BD: 10@ = current_time_in_ms
0062: 10@ -= 13@ // (int)
:Label000F16
00D6: if
0BA2: dialog 0@ is_minimized
004D: jump_if_false @Label000F61
0006: 12@ = 0
0BA1: dialog 0@ set_minimized 0
0B12: 2@ = 2@ XOR 1
0B5D: samp toggle_cursor 2@
0B86: dialog 0@ set_visible 2@
0C1E: array 7@ element 74 el_size 2 = 0
0C1E: array 7@ element 75 el_size 2 = 0
:Label000F61
0002: jump @Label000F75
:Label000F68
0B5D: samp toggle_cursor 2@
0B86: dialog 0@ set_visible 2@
:Label000F75
0002: jump @Label00153B
:Label000F7C
00D6: if and
8B21: not samp is_chat_opened
0019: 5@ > 0
0B4C: samp is_dialog_active -1
004D: jump_if_false @Label00153B
0006: 12@ = 0
0006: 11@ = 0
01BD: 9@ = current_time_in_ms
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label000FC4
0A8F: 9@ = 9@ - 10@ // int
:Label000FC4
00D6: if
002D: 9@ >= 13@ // (int)
004D: jump_if_false @Label00128F
0AB1: call_scm_func @Label001EEC 3 5@ 7@ 1@ 11@
00D6: if
0039: 5@ == 2
004D: jump_if_false @Label00104B
0AB1: call_scm_func @Label001679 4 0@ 5 19 0 5@
0006: 5@ = 2
0AB1: call_scm_func @Label001CB7 3 0@ 7@ 0
0AB1: call_scm_func @Label001E01 2 5@ 7@ 6@ 13@
0002: jump @Label001100
:Label00104B
00D6: if
0039: 5@ == 3
004D: jump_if_false @Label0010A9
0AB1: call_scm_func @Label001679 4 0@ 5 19 0 5@
0006: 5@ = 3
0AB1: call_scm_func @Label001CB7 3 0@ 7@ 22
0AB1: call_scm_func @Label001E01 2 5@ 7@ 6@ 13@
0002: jump @Label001100
:Label0010A9
00D6: if
0039: 5@ == 4
004D: jump_if_false @Label001100
0AB1: call_scm_func @Label001679 4 0@ 5 19 0 5@
0006: 5@ = 4
0AB1: call_scm_func @Label001CB7 3 0@ 7@ 44
0AB1: call_scm_func @Label001E01 2 5@ 7@ 6@ 13@
:Label001100
0C1F: 8@ = string_array 1@ element 0 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 12 7@
0C1F: 8@ = string_array 1@ element 1 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 13 7@
0C1F: 8@ = string_array 1@ element 2 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 14 7@
0C1F: 8@ = string_array 1@ element 3 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 15 7@
0C1F: 8@ = string_array 1@ element 4 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 16 7@
0C1F: 8@ = string_array 1@ element 5 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 17 7@
0C1F: 8@ = string_array 1@ element 6 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 18 7@
0C1F: 8@ = string_array 1@ element 7 size 40
0AB1: call_scm_func @Label002A34 5 0@ 8@ 5@ 19 7@
0AB1: call_scm_func @Label0018E8 6 0@ 6@ 5@ 1@ 7@ 12@ 6@ 13@
0AB1: call_scm_func @Label001D19 4 0@ 6 5@ 7@ 6@ 13@
0AB1: call_scm_func @Label002B22 4 0@ 14@ 5@ 7@
0AB1: call_scm_func @Label001679 4 0@ 5 19 5@ 5@
01BD: 10@ = current_time_in_ms
:Label00128F
01BD: 9@ = current_time_in_ms
00D6: if
0B4C: samp is_dialog_active 11@
004D: jump_if_false @Label00153B
:Label0012A4
0AB0: key_pressed 32
004D: jump_if_false @Label00153B
0001: wait 0 ms
00D6: if
0039: 2@ == 1
004D: jump_if_false @Label0012D8
0BA1: dialog 0@ set_minimized 0
0B5D: samp toggle_cursor 2@
0002: jump @Label00153B
:Label0012D8
00D6: if
8B4C: not samp is_dialog_active -1
004D: jump_if_false @Label0012EE
0002: jump @Label00153B
:Label0012EE
0AB0: key_pressed 32
004D: jump_if_false @Label0013B0
0001: wait 0 ms
00D6: if
0039: 2@ == 1
004D: jump_if_false @Label001341
0BA1: dialog 0@ set_minimized 0
0B5D: samp toggle_cursor 2@
0AD0: show_formatted_text_lowpriority "~y~AutoBuy: ~g~continue!" time 20
0002: jump @Label0013B0
:Label001341
0B21: samp is_chat_opened
004D: jump_if_false @Label001374
0AD0: show_formatted_text_lowpriority "~y~AutoBuy: ~r~paused..." time 20
0001: wait 0 ms
0002: jump @Label001341
:Label001374
00D6: if
8B4C: not samp is_dialog_active -1
004D: jump_if_false @Label00138A
0002: jump @Label0013B0
:Label00138A
0AD0: show_formatted_text_lowpriority "~y~AutoBuy: ~g~paused..." time 20
0002: jump @Label0012EE
:Label0013B0
8AB0: not key_pressed 32
004D: jump_if_false @Label001472
0001: wait 0 ms
00D6: if
0039: 2@ == 1
004D: jump_if_false @Label001403
0BA1: dialog 0@ set_minimized 0
0B5D: samp toggle_cursor 2@
0AD0: show_formatted_text_lowpriority "~y~AutoBuy: ~g~continue!" time 20
0002: jump @Label001472
:Label001403
0B21: samp is_chat_opened
004D: jump_if_false @Label001436
0AD0: show_formatted_text_lowpriority "~y~AutoBuy: ~r~paused..." time 20
0001: wait 0 ms
0002: jump @Label001403
:Label001436
00D6: if
8B4C: not samp is_dialog_active -1
004D: jump_if_false @Label00144C
0002: jump @Label001472
:Label00144C
0AD0: show_formatted_text_lowpriority "~y~AutoBuy: ~g~paused..." time 20
0002: jump @Label0013B0
:Label001472
0AB0: key_pressed 32
004D: jump_if_false @Label001534
0001: wait 0 ms
00D6: if
0039: 2@ == 1
004D: jump_if_false @Label0014C5
0BA1: dialog 0@ set_minimized 0
0B5D: samp toggle_cursor 2@
0AD0: show_formatted_text_lowpriority "~y~AutoBuy: ~g~continue!" time 20
0002: jump @Label001534
:Label0014C5
0B21: samp is_chat_opened
004D: jump_if_false @Label0014F8
0AD0: show_formatted_text_lowpriority "~y~AutoBuy: ~r~continue?" time 20
0001: wait 0 ms
0002: jump @Label0014C5
:Label0014F8
00D6: if
8B4C: not samp is_dialog_active -1
004D: jump_if_false @Label00150E
0002: jump @Label001534
:Label00150E
0AD0: show_formatted_text_lowpriority "~y~AutoBuy: ~g~continue?" time 20
0002: jump @Label001472
:Label001534
0002: jump @Label0012A4
:Label00153B
0002: jump @Label00059B
:Label001542
0006: 12@ = 0
0B12: 2@ = 2@ XOR 1
0BA1: dialog 0@ set_minimized 0
0B5D: samp toggle_cursor 2@
0B86: dialog 0@ set_visible 2@
0C1E: array 7@ element 74 el_size 2 = 0
0C1E: array 7@ element 75 el_size 2 = 0
0B43: samp cmd_ret
:Label00157F
0B5A: get_screen_resolution 3@ 4@
0016: 3@ /= 2
0016: 4@ /= 2
0B5A: get_screen_resolution 5@ 6@
0016: 5@ /= 10
0016: 6@ /= 10
0062: 3@ -= 5@ // (int)
0062: 4@ -= 6@ // (int)
0B84: dialog 0@ set_pos_XY 3@ 4@ size 1@ 2@
0AB2: ret 0
:Label0015D1
0B5E: get_cursor_pos 3@ 4@
00D6: if
0019: 1@ > 0
004D: jump_if_false @Label00165C
00D6: if
0039: 1@ == 2
004D: jump_if_false @Label00160C
0006: 2@ = 260
0002: jump @Label001655
:Label00160C
00D6: if
0039: 1@ == 3
004D: jump_if_false @Label00162D
0006: 2@ = 170
0002: jump @Label001655
:Label00162D
00D6: if
0039: 1@ == 4
004D: jump_if_false @Label00164E
0006: 2@ = 230
0002: jump @Label001655
:Label00164E
0006: 2@ = 90
:Label001655
0002: jump @Label001663
:Label00165C
0006: 2@ = 90
:Label001663
0B84: dialog 0@ set_pos_XY 3@ 4@ size 400 2@
0AB2: ret 0
:Label001679
0085: 9@ = 3@ // (int)
0B85: dialog 0@ get_position_to 5@ 6@ size_to 7@ 8@
00D6: if
0019: 3@ > 0
004D: jump_if_false @Label00178C
0006: 4@ = 12
:Label0016AB
00D6: if and
0039: 3@ == 3
0039: 4@ == 14
004D: jump_if_false @Label0016D2
0002: jump @Label001714
0002: jump @Label0016F2
:Label0016D2
00D6: if and
0039: 3@ == 4
0039: 4@ == 18
004D: jump_if_false @Label0016F2
0002: jump @Label001714
:Label0016F2
0BAA: dialog 0@ set_checkbox 4@ color -1887895737
000A: 4@ += 1
0019: 4@ > 19
004D: jump_if_false @Label0016AB
:Label001714
00D6: if
0039: 3@ == 2
004D: jump_if_false @Label001735
0006: 8@ = 260
0002: jump @Label00177E
:Label001735
00D6: if
0039: 3@ == 3
004D: jump_if_false @Label001756
0006: 8@ = 170
0002: jump @Label00177E
:Label001756
00D6: if
0039: 3@ == 4
004D: jump_if_false @Label001777
0006: 8@ = 230
0002: jump @Label00177E
:Label001777
0006: 8@ = 90
:Label00177E
0006: 3@ = 1
0002: jump @Label001826
:Label00178C
0006: 4@ = 12
:Label001793
0BAA: dialog 0@ set_checkbox 4@ color 7929671
000A: 4@ += 1
0019: 4@ > 19
004D: jump_if_false @Label001793
00D6: if
0039: 3@ == 2
004D: jump_if_false @Label0017D6
0006: 8@ = 260
0002: jump @Label00181F
:Label0017D6
00D6: if
0039: 3@ == 3
004D: jump_if_false @Label0017F7
0006: 8@ = 170
0002: jump @Label00181F
:Label0017F7
00D6: if
0039: 3@ == 4
004D: jump_if_false @Label001818
0006: 8@ = 230
0002: jump @Label00181F
:Label001818
0006: 8@ = 90
:Label00181F
0006: 3@ = 0
:Label001826
0B84: dialog 0@ set_pos_XY 5@ 6@ size 7@ 8@
0085: 4@ = 1@ // (int)
:Label00183F
00D6: if and
0039: 9@ == 3
0039: 4@ == 14
004D: jump_if_false @Label001866
0002: jump @Label0018E0
0002: jump @Label0018BF
:Label001866
00D6: if and
0039: 9@ == 4
0039: 4@ == 18
004D: jump_if_false @Label00188D
0002: jump @Label0018E0
0002: jump @Label0018BF
:Label00188D
00D6: if
0039: 3@ == 1
004D: jump_if_false @Label0018BF
00D6: if or
0039: 4@ == 8
0039: 4@ == 9
004D: jump_if_false @Label0018BF
0002: jump @Label0018CA
:Label0018BF
0B90: dialog 0@ control 4@ set_visible 3@
:Label0018CA
000A: 4@ += 1
001D: 4@ > 2@ // (int)
004D: jump_if_false @Label00183F
:Label0018E0
0AB2: ret 1 9@
:Label0018E8
00D6: if or
8019: not 1@ > 0
0019: 1@ > 999
004D: jump_if_false @Label001934
0006: 1@ = 0
0B90: dialog 0@ control 8 set_visible 0
00D6: if
0019: 2@ > 0
004D: jump_if_false @Label00192D
0B90: dialog 0@ control 9 set_visible 1
:Label00192D
0002: jump @Label001996
:Label001934
00D6: if
0039: 1@ == 999
004D: jump_if_false @Label001972
00D6: if
0019: 2@ > 0
004D: jump_if_false @Label001962
0B90: dialog 0@ control 8 set_visible 1
:Label001962
0B90: dialog 0@ control 9 set_visible 0
0002: jump @Label001996
:Label001972
00D6: if
0019: 2@ > 0
004D: jump_if_false @Label001996
0B90: dialog 0@ control 8 set_visible 1
0B90: dialog 0@ control 9 set_visible 1
:Label001996
0B98: dialog 0@ slider 6 set_value_to 1@
0AC8: 8@ = allocate_memory_size 64
0AD3: 8@ = format "{FFFF00}%d" 1@
0B94: dialog 0@ set_control 7 text 8@
00D6: if and
0019: 2@ > 0
0019: 5@ > 0
004D: jump_if_false @Label001AEA
00D6: if
0039: 2@ == 2
004D: jump_if_false @Label001A0C
0A8F: 7@ = 5@ - 12 // int
0A8E: 9@ = 12 + 7@ // int
0002: jump @Label001A7A
:Label001A0C
00D6: if
0039: 2@ == 3
004D: jump_if_false @Label001A39
0A8F: 7@ = 5@ - 34 // int
0A8E: 9@ = 34 + 7@ // int
0002: jump @Label001A7A
:Label001A39
00D6: if
0039: 2@ == 4
004D: jump_if_false @Label001A66
0A8F: 7@ = 5@ - 56 // int
0A8E: 9@ = 56 + 7@ // int
0002: jump @Label001A7A
:Label001A66
0A8F: 7@ = 5@ - 12 // int
0A8E: 9@ = 12 + 7@ // int
:Label001A7A
0C1F: 6@ = string_array 3@ element 7@ size 40
00D6: if
0019: 1@ > 0
004D: jump_if_false @Label001AB5
0AD3: 8@ = format "%s (%d)" 6@ 1@
0002: jump @Label001AC2
:Label001AB5
0AD3: 8@ = format "%s" 6@
:Label001AC2
0B94: dialog 0@ set_control 5@ text 8@
0C1E: array 4@ element 9@ el_size 2 = 1@
0AB1: call_scm_func @Label002CBB 2 256 4@
:Label001AEA
0AC9: free_allocated_memory 8@
0AB2: ret 2 1@ 1@
:Label001AFA
0B94: dialog 0@ set_control 1 text "{FFFF00}Выберите сервер:"
0006: 5@ = 0
0006: 6@ = 0
0006: 11@ = 0
0006: 12@ = 0
0006: 13@ = 0
0006: 14@ = 0
0C11: memset destination 1@ value 0 size 360
0C20: string_array 1@ element 0 size 40 = "Buy1"
0C20: string_array 1@ element 1 size 40 = "Buy2"
0C20: string_array 1@ element 2 size 40 = "Buy3"
0C20: string_array 1@ element 3 size 40 = "Buy4"
0C20: string_array 1@ element 4 size 40 = "Buy5"
0C20: string_array 1@ element 5 size 40 = "Buy6"
0C20: string_array 1@ element 6 size 40 = "Buy7"
0C20: string_array 1@ element 7 size 40 = "Buy8"
0051: return
:Label001BC9
0006: 4@ = 0
0006: 9@ = 0
0006: 7@ = 12
:Label001BDE
0A8E: 5@ = 2@ + 4@ // int
00D6: if
0B92: dialog 0@ checkbox 7@ is_checked
004D: jump_if_false @Label001C43
0C1D: 6@ = array 1@ element 5@ el_size 2
00D6: if
0039: 6@ == 0
004D: jump_if_false @Label001C26
0A8E: 9@ = 3@ + 4@ // int
:Label001C26
0C1E: array 1@ element 5@ el_size 2 = 1
0B9E: dialog 0@ checkbox 7@ set_checked 1
0002: jump @Label001C83
:Label001C43
0C1D: 6@ = array 1@ element 5@ el_size 2
00D6: if
0039: 6@ == 1
004D: jump_if_false @Label001C6D
0A8E: 9@ = 3@ + 4@ // int
:Label001C6D
0C1E: array 1@ element 5@ el_size 2 = 0
0B9E: dialog 0@ checkbox 7@ set_checked 0
:Label001C83
000A: 4@ += 1
000A: 7@ += 1
0019: 7@ > 19
004D: jump_if_false @Label001BDE
0AB1: call_scm_func @Label002CBB 2 256 1@
0AB2: ret 1 9@
:Label001CB7
0006: 3@ = 0
0006: 4@ = 12
:Label001CC5
0A8E: 5@ = 2@ + 3@ // int
000A: 3@ += 1
0C1D: 6@ = array 1@ element 5@ el_size 2
0B9E: dialog 0@ checkbox 4@ set_checked 6@
000A: 4@ += 1
0019: 4@ > 19
004D: jump_if_false @Label001CC5
0AB1: call_scm_func @Label002CBB 2 256 1@
0AB2: ret 0
:Label001D19
0B97: dialog 0@ slider 1@ get_value_to 4@
00D6: if
0039: 2@ == 2
004D: jump_if_false @Label001D67
0A8E: 5@ = 0 + 8 // int
0C1E: array 3@ element 5@ el_size 2 = 4@
000A: 5@ += 1
0C1D: 6@ = array 3@ element 5@ el_size 2
0002: jump @Label001DE6
:Label001D67
00D6: if
0039: 2@ == 3
004D: jump_if_false @Label001DAA
0A8E: 5@ = 22 + 8 // int
0C1E: array 3@ element 5@ el_size 2 = 4@
000A: 5@ += 1
0C1D: 6@ = array 3@ element 5@ el_size 2
0002: jump @Label001DE6
:Label001DAA
00D6: if
0039: 2@ == 4
004D: jump_if_false @Label001DE6
0A8E: 5@ = 44 + 8 // int
0C1E: array 3@ element 5@ el_size 2 = 4@
000A: 5@ += 1
0C1D: 6@ = array 3@ element 5@ el_size 2
:Label001DE6
0AB1: call_scm_func @Label002CBB 2 256 3@
0AB2: ret 2 4@ 6@
:Label001E01
00D6: if
0039: 0@ == 2
004D: jump_if_false @Label001E44
0A8E: 2@ = 0 + 8 // int
0C1D: 3@ = array 1@ element 2@ el_size 2
000A: 2@ += 1
0C1D: 4@ = array 1@ element 2@ el_size 2
0002: jump @Label001ED1
:Label001E44
00D6: if
0039: 0@ == 3
004D: jump_if_false @Label001E87
0A8E: 2@ = 22 + 8 // int
0C1D: 3@ = array 1@ element 2@ el_size 2
000A: 2@ += 1
0C1D: 4@ = array 1@ element 2@ el_size 2
0002: jump @Label001ED1
:Label001E87
00D6: if
0039: 0@ == 4
004D: jump_if_false @Label001ECA
0A8E: 2@ = 44 + 8 // int
0C1D: 3@ = array 1@ element 2@ el_size 2
000A: 2@ += 1
0C1D: 4@ = array 1@ element 2@ el_size 2
0002: jump @Label001ED1
:Label001ECA
0006: 3@ = 1
:Label001ED1
0AB1: call_scm_func @Label002CBB 2 256 1@
0AB2: ret 2 3@ 4@
:Label001EEC
077E: get_active_interior_to 7@
0B4E: samp 12@ = get_current_dialog_id
00D6: if
0019: 7@ > 0
004D: jump_if_false @Label002A2C
0B4D: samp 4@ = get_current_dialog_type
0AC8: 11@ = allocate_memory_size 128
0BD8: samp get_dialog_caption 11@
0AC8: 8@ = allocate_memory_size 128
00D6: if
0039: 0@ == 2
004D: jump_if_false @Label0021EC
00D6: if and
0039: 4@ == 2
0C14: strcmp string1 11@ string2 "{BFBBBA}"
004D: jump_if_false @Label00205B
0B4E: samp 12@ = get_current_dialog_id
0B54: samp 5@ = listbox_items_count
000E: 5@ -= 1
0006: 6@ = 0
:Label001F6D
00D6: if
0B4C: samp is_dialog_active 12@
004D: jump_if_false @Label00203E
0B5B: samp get_listbox_item 6@ text_to 8@
00D6: if
0C14: strcmp string1 8@ string2 "{42B02C}-{FFFFFF} Купить"
004D: jump_if_false @Label002037
0006: 9@ = 0
:Label001FB6
0A8E: 13@ = 0 + 9@ // int
0C1D: 14@ = array 1@ element 13@ el_size 2
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label00201B
0C1D: 14@ = array 1@ element 73 el_size 2
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label002014
0C1E: array 1@ element 73 el_size 2 = 0
0BC9: samp send_dialog_response dialog 12@ button 1 listitem 6@ input 0
:Label002014
0002: jump @Label002030
:Label00201B
000A: 9@ += 1
0019: 9@ > 7
004D: jump_if_false @Label001FB6
:Label002030
0002: jump @Label00205B
:Label002037
0002: jump @Label002045
:Label00203E
0002: jump @Label00205B
:Label002045
000A: 6@ += 1
001D: 6@ > 5@ // (int)
004D: jump_if_false @Label001F6D
:Label00205B
00D6: if and
0039: 4@ == 5
0C14: strcmp string1 11@ string2 "{BFBBBA}{E4DB5E}Магазин"
004D: jump_if_false @Label0021E5
0C1D: 14@ = array 1@ element 73 el_size 2
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label0021E5
0B4E: samp 12@ = get_current_dialog_id
0B54: samp 5@ = listbox_items_count
000E: 5@ -= 1
0006: 6@ = 0
:Label0020C1
00D6: if and
8B21: not samp is_chat_opened
0B4C: samp is_dialog_active 12@
8AB0: not key_pressed 32
004D: jump_if_false @Label0021C8
0B5B: samp get_listbox_item 6@ text_to 8@
0006: 9@ = 0
:Label0020E6
0C1F: 10@ = string_array 2@ element 9@ size 40
00D6: if
0C18: 15@ = strstr string1 8@ string2 10@
004D: jump_if_false @Label0021AC
0A8E: 13@ = 0 + 9@ // int
0C1D: 14@ = array 1@ element 13@ el_size 2
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label0021A5
0A8E: 3@ = 12 + 9@ // int
0C1D: 14@ = array 1@ element 3@ el_size 2
00D6: if
0019: 14@ > 1
004D: jump_if_false @Label002176
000E: 14@ -= 1
0C1E: array 1@ element 3@ el_size 2 = 14@
0002: jump @Label00218E
:Label002176
0C1E: array 1@ element 13@ el_size 2 = 0
0C1E: array 1@ element 3@ el_size 2 = 0
:Label00218E
0C1E: array 1@ element 73 el_size 2 = 0
0BC9: samp send_dialog_response dialog 12@ button 1 listitem 6@ input 0
:Label0021A5
0002: jump @Label0021C1
:Label0021AC
000A: 9@ += 1
0019: 9@ > 7
004D: jump_if_false @Label0020E6
:Label0021C1
0002: jump @Label0021CF
:Label0021C8
0002: jump @Label0021E5
:Label0021CF
000A: 6@ += 1
001D: 6@ > 5@ // (int)
004D: jump_if_false @Label0020C1
:Label0021E5
0002: jump @Label002A12
:Label0021EC
00D6: if
0039: 0@ == 3
004D: jump_if_false @Label002879
00D6: if and
0039: 4@ == 2
0C14: strcmp string1 11@ string2 "{0099FF}Магазин 24/7"
004D: jump_if_false @Label00239E
0C1D: 14@ = array 1@ element 73 el_size 2
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label00239E
0B4E: samp 12@ = get_current_dialog_id
0B54: samp 5@ = listbox_items_count
000E: 5@ -= 1
0006: 6@ = 0
:Label002261
00D6: if and
8B21: not samp is_chat_opened
0B4C: samp is_dialog_active 12@
8AB0: not key_pressed 32
004D: jump_if_false @Label002381
0B5B: samp get_listbox_item 6@ text_to 8@
0006: 9@ = 0
:Label002286
0C1F: 10@ = string_array 2@ element 9@ size 40
00D6: if
0C18: 15@ = strstr string1 8@ string2 10@
004D: jump_if_false @Label002365
0A8E: 13@ = 22 + 9@ // int
0C1D: 14@ = array 1@ element 13@ el_size 2
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label00235E
00D6: if
0039: 9@ == 0
004D: jump_if_false @Label002310
0C1D: 3@ = array 1@ element 74 el_size 2
00D6: if
0029: 3@ >= 5
004D: jump_if_false @Label002309
0002: jump @Label002365
:Label002309
0002: jump @Label002347
:Label002310
00D6: if
0039: 9@ == 1
004D: jump_if_false @Label002347
0C1D: 3@ = array 1@ element 75 el_size 2
00D6: if
0029: 3@ >= 3
004D: jump_if_false @Label002347
0002: jump @Label002365
:Label002347
0C1E: array 1@ element 73 el_size 2 = 0
0BC9: samp send_dialog_response dialog 12@ button 1 listitem 6@ input 0
:Label00235E
0002: jump @Label00237A
:Label002365
000A: 9@ += 1
0019: 9@ > 7
004D: jump_if_false @Label002286
:Label00237A
0002: jump @Label002388
:Label002381
0002: jump @Label00239E
:Label002388
000A: 6@ += 1
001D: 6@ > 5@ // (int)
004D: jump_if_false @Label002261
:Label00239E
00D6: if and
0039: 4@ == 5
0C14: strcmp string1 11@ string2 "{FFCD00}Покупка аптечек"
004D: jump_if_false @Label0025FC
0C1D: 14@ = array 1@ element 73 el_size 2
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label0025FC
0B4E: samp 12@ = get_current_dialog_id
0B54: samp 5@ = listbox_items_count
000E: 5@ -= 1
0006: 6@ = 0
:Label002404
00D6: if and
8B21: not samp is_chat_opened
0B4C: samp is_dialog_active 12@
8AB0: not key_pressed 32
004D: jump_if_false @Label0025DF
0C1D: 14@ = array 1@ element 22 el_size 2
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label0025D1
0C1D: 3@ = array 1@ element 74 el_size 2
0A8F: 3@ = 5 - 3@ // int
00D6: if
0019: 3@ > 0
004D: jump_if_false @Label0025AD
0C1D: 14@ = array 1@ element 34 el_size 2
00D6: if
0019: 14@ > 1
004D: jump_if_false @Label00256A
0B5B: samp get_listbox_item 6@ text_to 8@
0C1A: 13@ = atoi 8@
00D6: if
002D: 14@ >= 3@ // (int)
004D: jump_if_false @Label002513
00D6: if
003B: 3@ == 13@ // (int)
004D: jump_if_false @Label00250C
0062: 14@ -= 3@ // (int)
00D6: if
0039: 14@ == 0
004D: jump_if_false @Label0024D9
0C1E: array 1@ element 22 el_size 2 = 0
:Label0024D9
0C1E: array 1@ element 34 el_size 2 = 14@
0C1E: array 1@ element 73 el_size 2 = 0
0BC9: samp send_dialog_response dialog 12@ button 1 listitem 6@ input 0
0AF9: samp say_msg "/buy"
0002: jump @Label0025FC
:Label00250C
0002: jump @Label002563
:Label002513
00D6: if
003B: 14@ == 13@ // (int)
004D: jump_if_false @Label002563
0C1E: array 1@ element 22 el_size 2 = 0
0C1E: array 1@ element 34 el_size 2 = 0
0C1E: array 1@ element 73 el_size 2 = 0
0BC9: samp send_dialog_response dialog 12@ button 1 listitem 6@ input 0
0AF9: samp say_msg "/buy"
0002: jump @Label0025FC
:Label002563
0002: jump @Label0025A6
:Label00256A
0C1E: array 1@ element 22 el_size 2 = 0
0C1E: array 1@ element 34 el_size 2 = 0
0C1E: array 1@ element 73 el_size 2 = 0
0BC9: samp send_dialog_response dialog 12@ button 1 listitem 0 input 0
0AF9: samp say_msg "/buy"
0002: jump @Label0025FC
:Label0025A6
0002: jump @Label0025CA
:Label0025AD
0C1E: array 1@ element 73 el_size 2 = 0
0BC9: samp send_dialog_response dialog 12@ button 0 listitem 0 input 0
0002: jump @Label0025FC
:Label0025CA
0002: jump @Label0025D8
:Label0025D1
0002: jump @Label0025FC
:Label0025D8
0002: jump @Label0025E6
:Label0025DF
0002: jump @Label0025FC
:Label0025E6
000A: 6@ += 1
001D: 6@ > 5@ // (int)
004D: jump_if_false @Label002404
:Label0025FC
00D6: if and
0039: 4@ == 5
0C14: strcmp string1 11@ string2 "{FFCD00}Покупка масок"
004D: jump_if_false @Label002872
0C1D: 14@ = array 1@ element 73 el_size 2
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label002872
0B4E: samp 12@ = get_current_dialog_id
0B54: samp 5@ = listbox_items_count
000E: 5@ -= 1
0006: 6@ = 0
:Label002660
00D6: if and
8B21: not samp is_chat_opened
0B4C: samp is_dialog_active 12@
8AB0: not key_pressed 32
004D: jump_if_false @Label002855
0A8E: 16@ = 22 + 1 // int
0C1D: 14@ = array 1@ element 16@ el_size 2
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label002847
0C1D: 3@ = array 1@ element 75 el_size 2
0A8F: 3@ = 3 - 3@ // int
00D6: if
0019: 3@ > 0
004D: jump_if_false @Label002823
0A8E: 17@ = 34 + 1 // int
0C1D: 14@ = array 1@ element 17@ el_size 2
00D6: if
0019: 14@ > 1
004D: jump_if_false @Label0027DE
0B5B: samp get_listbox_item 6@ text_to 8@
0C1A: 13@ = atoi 8@
00D6: if
002D: 14@ >= 3@ // (int)
004D: jump_if_false @Label002785
00D6: if
003B: 3@ == 13@ // (int)
004D: jump_if_false @Label00277E
0062: 14@ -= 3@ // (int)
00D6: if
0039: 14@ == 0
004D: jump_if_false @Label00274A
0C1E: array 1@ element 16@ el_size 2 = 0
:Label00274A
0C1E: array 1@ element 17@ el_size 2 = 14@
0C1E: array 1@ element 73 el_size 2 = 0
0BC9: samp send_dialog_response dialog 12@ button 1 listitem 6@ input 0
0AF9: samp say_msg "/buy"
0002: jump @Label002872
:Label00277E
0002: jump @Label0027D7
:Label002785
00D6: if
003B: 14@ == 13@ // (int)
004D: jump_if_false @Label0027D7
0C1E: array 1@ element 16@ el_size 2 = 0
0C1E: array 1@ element 17@ el_size 2 = 0
0C1E: array 1@ element 73 el_size 2 = 0
0BC9: samp send_dialog_response dialog 12@ button 1 listitem 6@ input 0
0AF9: samp say_msg "/buy"
0002: jump @Label002872
:Label0027D7
0002: jump @Label00281C
:Label0027DE
0C1E: array 1@ element 16@ el_size 2 = 0
0C1E: array 1@ element 17@ el_size 2 = 0
0C1E: array 1@ element 73 el_size 2 = 0
0BC9: samp send_dialog_response dialog 12@ button 1 listitem 0 input 0
0AF9: samp say_msg "/buy"
0002: jump @Label002872
:Label00281C
0002: jump @Label002840
:Label002823
0C1E: array 1@ element 73 el_size 2 = 0
0BC9: samp send_dialog_response dialog 12@ button 0 listitem 0 input 0
0002: jump @Label002872
:Label002840
0002: jump @Label00284E
:Label002847
0002: jump @Label002872
:Label00284E
0002: jump @Label00285C
:Label002855
0002: jump @Label002872
:Label00285C
000A: 6@ += 1
001D: 6@ > 5@ // (int)
004D: jump_if_false @Label002660
:Label002872
0002: jump @Label002A12
:Label002879
00D6: if
0039: 0@ == 4
004D: jump_if_false @Label002A12
00D6: if and
0039: 4@ == 2
0C14: strcmp string1 11@ string2 "{FFFFAD}Магазин 24/7"
004D: jump_if_false @Label002A12
0C1D: 14@ = array 1@ element 73 el_size 2
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label002A12
0B4E: samp 12@ = get_current_dialog_id
0B54: samp 5@ = listbox_items_count
000E: 5@ -= 1
0006: 6@ = 0
:Label0028EE
00D6: if and
8B21: not samp is_chat_opened
0B4C: samp is_dialog_active 12@
8AB0: not key_pressed 32
004D: jump_if_false @Label0029F5
0B5B: samp get_listbox_item 6@ text_to 8@
0006: 9@ = 0
:Label002913
0C1F: 10@ = string_array 2@ element 9@ size 40
00D6: if
0C18: 15@ = strstr string1 8@ string2 10@
004D: jump_if_false @Label0029D9
0A8E: 13@ = 44 + 9@ // int
0C1D: 14@ = array 1@ element 13@ el_size 2
00D6: if
0039: 14@ == 1
004D: jump_if_false @Label0029D2
0A8E: 3@ = 56 + 9@ // int
0C1D: 14@ = array 1@ element 3@ el_size 2
00D6: if
0019: 14@ > 1
004D: jump_if_false @Label0029A3
000E: 14@ -= 1
0C1E: array 1@ element 3@ el_size 2 = 14@
0002: jump @Label0029BB
:Label0029A3
0C1E: array 1@ element 13@ el_size 2 = 0
0C1E: array 1@ element 3@ el_size 2 = 0
:Label0029BB
0C1E: array 1@ element 73 el_size 2 = 0
0BC9: samp send_dialog_response dialog 12@ button 1 listitem 6@ input 0
:Label0029D2
0002: jump @Label0029EE
:Label0029D9
000A: 9@ += 1
0019: 9@ > 7
004D: jump_if_false @Label002913
:Label0029EE
0002: jump @Label0029FC
:Label0029F5
0002: jump @Label002A12
:Label0029FC
000A: 6@ += 1
001D: 6@ > 5@ // (int)
004D: jump_if_false @Label0028EE
:Label002A12
0AC9: free_allocated_memory 8@
0AC9: free_allocated_memory 11@
0AB1: call_scm_func @Label002CBB 2 256 1@
:Label002A2C
0AB2: ret 1 12@
:Label002A34
0AC8: 5@ = allocate_memory_size 64
0A8F: 6@ = 3@ - 12 // int
00D6: if
0039: 2@ == 2
004D: jump_if_false @Label002A68
0A8E: 7@ = 12 + 6@ // int
0002: jump @Label002AB5
:Label002A68
00D6: if
0039: 2@ == 3
004D: jump_if_false @Label002A8B
0A8E: 7@ = 34 + 6@ // int
0002: jump @Label002AB5
:Label002A8B
00D6: if
0039: 2@ == 4
004D: jump_if_false @Label002AAE
0A8E: 7@ = 56 + 6@ // int
0002: jump @Label002AB5
:Label002AAE
0006: 7@ = 12
:Label002AB5
0C1D: 8@ = array 4@ element 7@ el_size 2
00D6: if
0019: 8@ > 0
004D: jump_if_false @Label002AF0
0AD3: 5@ = format "%s (%d)" 1@ 8@
0002: jump @Label002AFD
:Label002AF0
0AD3: 5@ = format "%s" 1@
:Label002AFD
0B94: dialog 0@ set_control 3@ text 5@
0AC9: free_allocated_memory 5@
0AB1: call_scm_func @Label002CBB 2 256 4@
0AB2: ret 0
:Label002B22
0AC8: 5@ = allocate_memory_size 64
00D6: if
0039: 2@ == 2
004D: jump_if_false @Label002B4B
0A8E: 4@ = 0 + 9 // int
0002: jump @Label002B98
:Label002B4B
00D6: if
0039: 2@ == 3
004D: jump_if_false @Label002B6D
0A8E: 4@ = 22 + 9 // int
0002: jump @Label002B98
:Label002B6D
00D6: if
0039: 2@ == 4
004D: jump_if_false @Label002B8F
0A8E: 4@ = 44 + 9 // int
0002: jump @Label002B98
:Label002B8F
0A8E: 4@ = 0 + 9 // int
:Label002B98
0C1D: 6@ = array 3@ element 4@ el_size 2
00D6: if and
0039: 1@ == 1
0019: 6@ > 0
004D: jump_if_false @Label002BDD
0AD3: 5@ = format "{FFFF00}%d ms" 6@
0002: jump @Label002BF9
:Label002BDD
0AD3: 5@ = format "{FFFF00}Без задержки"
:Label002BF9
0B94: dialog 0@ set_control 11 text 5@
0AC9: free_allocated_memory 5@
0AB1: call_scm_func @Label002CBB 2 256 3@
0AB2: ret 0
:Label002C1D
0A8E: 5@ = 0@ + 9 // int
0A90: 4@ = 1@ * 10 // int
0C1E: array 2@ element 5@ el_size 2 = 4@
00D6: if
0039: 0@ == 0
004D: jump_if_false @Label002C63
0C1E: array 2@ element 70 el_size 2 = 3@
0002: jump @Label002CA6
:Label002C63
00D6: if
0039: 0@ == 22
004D: jump_if_false @Label002C88
0C1E: array 2@ element 71 el_size 2 = 3@
0002: jump @Label002CA6
:Label002C88
00D6: if
0039: 0@ == 44
004D: jump_if_false @Label002CA6
0C1E: array 2@ element 72 el_size 2 = 3@
:Label002CA6
0AB1: call_scm_func @Label002CBB 2 256 2@
0AB2: ret 0
:Label002CBB
0AA7: call_function 8532696 num_params 2 pop 2 "wb" "CLEO\AutoBuy" 3@
0AA7: call_function 8533620 num_params 4 pop 4 3@ 0@ 1 1@ 2@
0AA7: call_function 8532363 num_params 1 pop 1 3@ 2@
0AB2: ret 0
:Label002D0D
0AA7: call_function 8532696 num_params 2 pop 2 "rb" "CLEO\AutoBuy" 3@
0AA7: call_function 8533281 num_params 4 pop 4 3@ 0@ 1 1@ 2@
0AA7: call_function 8532363 num_params 1 pop 1 3@ 2@
0AB2: ret 1 1@
0BE5: raknet 15@ = get_hook_param 1
00D6: if
0039: 15@ == 61
004D: jump_if_false @Label002D8D
0C1E: array 7@ element 73 el_size 2 = 1
0002: jump @Label0031BC
:Label002D8D
00D6: if
0039: 15@ == 93
004D: jump_if_false @Label0031BC
0BE5: raknet 15@ = get_hook_param 0
0BEB: raknet bit_stream 15@ ignore_bits 32
0BE7: raknet 17@ = bit_stream_read 15@ type 3
0AC8: 18@ = allocate_memory_size 512
0BE8: raknet bit_stream 15@ read_array 18@ size 17@
0C1E: array 18@ element 17@ el_size 1 = 0
00D6: if
0039: 5@ == 2
004D: jump_if_false @Label002EF7
00D6: if or
0C14: strcmp string1 18@ string2 "Извините, но у вас нехватает денег!"
0C14: strcmp string1 18@ string2 "[Ошибка] {FFFFFF}Аптечки можно купить только если у вас есть рецепт от врача!"
0C14: strcmp string1 18@ string2 "[Ошибка] {FFFFFF}У вас нет места или ваш инвентарь заблокирован!"
004D: jump_if_false @Label002EF0
0006: 12@ = 0
0006: 2@ = 1
0BA1: dialog 0@ set_minimized 0
0B5D: samp toggle_cursor 2@
0B86: dialog 0@ set_visible 2@
0C1E: array 7@ element 74 el_size 2 = 0
0C1E: array 7@ element 75 el_size 2 = 0
:Label002EF0
0002: jump @Label0031B7
:Label002EF7
00D6: if
0039: 5@ == 3
004D: jump_if_false @Label003093
00D6: if or
0C14: strcmp string1 18@ string2 "У вас нет с собой столько денег"
0C14: strcmp string1 18@ string2 "У Вас не хватает денег"
0C14: strcmp string1 18@ string2 "Вы не сможете унести более 5 аптечек"
0C14: strcmp string1 18@ string2 "Вы не можете приобрести более 3 масок"
004D: jump_if_false @Label002FED
0006: 12@ = 0
0006: 2@ = 1
0BA1: dialog 0@ set_minimized 0
0B5D: samp toggle_cursor 2@
0B86: dialog 0@ set_visible 2@
0C1E: array 7@ element 74 el_size 2 = 0
0C1E: array 7@ element 75 el_size 2 = 0
0002: jump @Label00308C
:Label002FED
00D6: if
0C25: strncmp string1 18@ string2 "Сейчас у Вас аптечек: {33cc33}" size 30
004D: jump_if_false @Label003041
000A: 18@ += 30
0C1A: 19@ = atoi 18@
0C1E: array 7@ element 74 el_size 2 = 19@
0002: jump @Label00308C
:Label003041
00D6: if
0C25: strncmp string1 18@ string2 "Сейчас у Вас масок: {33cc33}" size 28
004D: jump_if_false @Label00308C
000A: 18@ += 28
0C1A: 19@ = atoi 18@
0C1E: array 7@ element 75 el_size 2 = 19@
:Label00308C
0002: jump @Label0031B7
:Label003093
00D6: if
0039: 5@ == 4
004D: jump_if_false @Label0031B7
00D6: if or
0C14: strcmp string1 18@ string2 "У Вас недостаточно денег"
0C14: strcmp string1 18@ string2 "• {AC0000}[Ошибка] {ffffff}Пользоваться скрепками можно с 4 уровня"
0C14: strcmp string1 18@ string2 "• {AC0000}[Ошибка] {ffffff}Вы не можете унести больше вещей, освободите инвентарь (/inv > Items)"
004D: jump_if_false @Label0031B7
0006: 12@ = 0
0006: 2@ = 1
0BA1: dialog 0@ set_minimized 0
0B5D: samp toggle_cursor 2@
0B86: dialog 0@ set_visible 2@
0C1E: array 7@ element 74 el_size 2 = 0
0C1E: array 7@ element 75 el_size 2 = 0
:Label0031B7
0AC9: free_allocated_memory 18@
:Label0031BC
0BE0: raknet hook_ret 1
0BE5: raknet 16@ = get_hook_param 1
00D6: if
0039: 16@ == 62
004D: jump_if_false @Label0031E4
0C1E: array 7@ element 73 el_size 2 = 0
:Label0031E4
0BE0: raknet hook_ret 1