- 76
- 10
Нужно в даймонде изменить кол-во строк на 33
CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
{$I SF}
//-------------MAIN---------------
0000: NOP
:Noname_2
not SAMP.Available
else_jump @Noname_22
wait 100
jump @Noname_2
:Noname_22
chatmsg "Фейковая статистика для {399DFF}'ARZRP/DRP/SRP/ARP'" -1
chatmsg "Автор: {FF3939}Ded_Fedot {FFFFFF}| {39F3FF}20.04.16г" -1
chatmsg "Активация на команду - {B1E600}/fstat" -1
chatmsg "Настройки статистики в папке {FFD839}CLEO\FakeSettings" -1
0B34: samp register_client_command "fstat" to_label @Noname_269
:Noname_258
wait 0
jump @Noname_258
:Noname_269
wait 0
0AF0: 7@ = get_int_from_ini_file "CLEO\FakeSettings\Настройки.ini" section "Arizona-Rp" key "Вкл/Выкл"
if
7@ == 1
else_jump @Noname_737
if
1@ = File.Open("CLEO\FakeSettings\Arizona-Rp.ini", "rt")
else_jump @Noname_620
alloc 2@ 1024
alloc 3@ 1024
alloc 4@ 64
alloc 5@ 64
File.ReadString(1@, 4@, 64)
format 2@ "%s" 4@
6@ = 1
:Noname_465
wait 0
if
File.ReadString(1@, 4@, 64)
else_jump @Noname_531
format 5@ "%s" 4@
gosub @Noname_704
6@ += 1
6@ > 23
else_jump @Noname_465
:Noname_531
File.Close(1@)
SAMP.ShowDialog(2, "{9D2020}Основная статистика", 3@, "Предметы", "Закрыть", DIALOG_STYLE_MSGBOX)
free 2@
free 3@
free 4@
free 5@
jump @Noname_702
:Noname_620
chatmsg "{E66400}Файл {FFFFFF}Arizona-Rp.ini {E66400}не найден или был переименован!" -1
:Noname_702
SAMP.CmdRet
:Noname_704
format 3@ "%s%s" 2@ 5@
format 2@ "%s" 3@
return
:Noname_737
wait 0
0AF0: 8@ = get_int_from_ini_file "CLEO\FakeSettings\Настройки.ini" section "Diamond-Rp" key "Вкл/Выкл"
if
8@ == 1
else_jump @Noname_1183
if
1@ = File.Open("CLEO\FakeSettings\Diamond-Rp.ini", "rt")
else_jump @Noname_1066
alloc 2@ 1024
alloc 3@ 1024
alloc 4@ 64
alloc 5@ 64
File.ReadString(1@, 4@, 64)
format 2@ "%s" 4@
6@ = 1
:Noname_933
wait 0
if
File.ReadString(1@, 4@, 64)
else_jump @Noname_999
format 5@ "%s" 4@
gosub @Noname_1150
6@ += 1
6@ > 32
else_jump @Noname_933
:Noname_999
File.Close(1@)
SAMP.ShowDialog(2, "{CC9900}Статистика", 3@, "OK", "", DIALOG_STYLE_MSGBOX)
free 2@
free 3@
free 4@
free 5@
jump @Noname_1148
:Noname_1066
chatmsg "{E66400}Файл {FFFFFF}Diamond-Rp.ini {E66400}не найден или был переименован!" -1
:Noname_1148
SAMP.CmdRet
:Noname_1150
format 3@ "%s%s" 2@ 5@
format 2@ "%s" 3@
return
:Noname_1183
wait 0
0AF0: 9@ = get_int_from_ini_file "CLEO\FakeSettings\Настройки.ini" section "Samp-Rp" key "Вкл/Выкл"
if
9@ == 1
else_jump @Noname_1648
if
1@ = File.Open("CLEO\FakeSettings\Samp-Rp.ini", "rt")
else_jump @Noname_1534
alloc 2@ 1024
alloc 3@ 1024
alloc 4@ 64
alloc 5@ 64
File.ReadString(1@, 4@, 64)
format 2@ "%s" 4@
6@ = 1
:Noname_1373
wait 0
if
File.ReadString(1@, 4@, 64)
else_jump @Noname_1439
format 5@ "%s" 4@
gosub @Noname_1615
6@ += 1
6@ > 16
else_jump @Noname_1373
:Noname_1439
File.Close(1@)
SAMP.ShowDialog(2, "{CC9900}{D2D2D2}Статистика персонажа", 3@, "Выбрать", "Назад", DIALOG_STYLE_LIST)
free 2@
free 3@
free 4@
free 5@
jump @Noname_1613
:Noname_1534
chatmsg "{E66400}Файл {FFFFFF}Samp-Rp.ini {E66400}не найден или был переименован!" -1
:Noname_1613
SAMP.CmdRet
:Noname_1615
format 3@ "%s%s" 2@ 5@
format 2@ "%s" 3@
return
:Noname_1648
wait 0
0AF0: 10@ = get_int_from_ini_file "CLEO\FakeSettings\Настройки.ini" section "Advance-Rp" key "Вкл/Выкл"
if
10@ == 1
else_jump @Noname_1994
if
1@ = File.Open("CLEO\FakeSettings\Advance-Rp.ini", "rt")
else_jump @Noname_2102
alloc 2@ 1024
alloc 3@ 1024
alloc 4@ 64
alloc 5@ 64
File.ReadString(1@, 4@, 64)
format 2@ "%s" 4@
6@ = 1
:Noname_1844
wait 0
if
File.ReadString(1@, 4@, 64)
else_jump @Noname_1910
format 5@ "%s" 4@
gosub @Noname_2186
6@ += 1
6@ > 21
else_jump @Noname_1844
:Noname_1910
File.Close(1@)
SAMP.ShowDialog(2, "{CC9900}Статистика игрока", 3@, "Назад", "Закрыть", DIALOG_STYLE_MSGBOX)
free 2@
free 3@
free 4@
free 5@
jump @Noname_2184
:Noname_1994
chatmsg "{E66400}Значение {FFFFFF}Вкл/Выкл=1 {E66400}не присвоено, зайдите в файл {FFFFFF}Настройки.ini" -1
jump @Noname_2184
:Noname_2102
chatmsg "{E66400}Файл {FFFFFF}Advance-Rp.ini {E66400}не найден или был переименован!" -1
:Noname_2184
SAMP.CmdRet
:Noname_2186
format 3@ "%s%s" 2@ 5@
format 2@ "%s" 3@
return