:Label0000B2
nop
0662: printstring "This cleo made by DubStep_"
0662: printstring "Special for Cheat-Master.Ru"
0662: printstring "My profile cheat-master.ru/index/8-47546"
wait 0
SAMP.Available
else_jump @Label00006B
call @Label000358 1 0
0B34: samp register_client_command "ns" to_label @Label00022F
0BE3: raknet setup_incoming_rpc_hook @Label0002A8
if and
8AF0: not 20@ = get_int_from_ini_file "cleo\News.ini" section "News" key "Text"
8AF0: not 21@ = get_int_from_ini_file "cleo\News.ini" section "News" key "AutoSend"
else_jump @Label00016B
0AF1: write_int 1 to_ini_file "cleo\News.ini" section "News" key "Text"
0AF1: write_int 1 to_ini_file "cleo\News.ini" section "News" key "AutoSend"
0AF0: 20@ = get_int_from_ini_file "cleo\News.ini" section "News" key "Text"
0AF0: 21@ = get_int_from_ini_file "cleo\News.ini" section "News" key "AutoSend"
wait 0
if
14@ == 1
else_jump @Label000228
if
19@ == 1
else_jump @Label000228
32@ = 0
wait 0
if or
32@ > 15000
14@ == 0
else_jump @Label0001BF
jump @Label0001F0
if
20@ == 1
else_jump @Label0001E9
0AD0: show_formatted_text_lowpriority "wait %d second" time 50 32@
jump @Label00019A
if
:Label0002A6
32@ > 15000
else_jump @Label000228
if
21@ == 1
else_jump @Label000228
if
SAMP.IsDialogActive(-1)
else_jump @Label000228
SAMP.CloseDialog(1)
jump @Label00016B
0B12: 14@ = 14@ XOR 1
if
14@ == 1
else_jump @Label00027B
print "~b~Script for ~p~news ~g~activated" 2000
jump @Label0002A6
print "~b~Script for ~p~news ~r~deactivated" 2000
:Label000358
SAMP.CmdRet
if
14@ == 1
else_jump @Label000354
0BE5: raknet 0@ = get_hook_param 1
if
0@ == 93
else_jump @Label000354
alloc 4@ 145
0BE5: raknet 1@ = get_hook_param 0
2@ = BitStream.Read(1@, 3)
3@ = BitStream.Read(1@, 3)
:Label0003A8
BitStream.ReadArray(1@, 4@, 3@)
0C0D: struct 4@ offset 3@ size 1 = 0
if
0C18: 30@ = strstr string1 4@ string2 "Отредактировал сотрудник"
else_jump @Label000348
19@ = 1
jump @Label00034F
19@ = 0
free 4@
0BE0: raknet hook_ret 1
if
0AAB: file_exists "CLEO\News.cs"
else_jump @Label0008C7
if
8AE4: not directory_exists "CLEO\DubStep_ upd"
else_jump @Label0003A8
0AE5: create_directory "CLEO\DubStep_ upd" // IF and SET
alloc 10@ 256
alloc 1@ 256
format 10@ "CLEO\DubStep_ upd\News.ver"
gosub @Label00097F
call @Label000849 2 10@ 1@ 2@
free 10@
free 1@
32@ = 0
wait 0
if
0AAB: file_exists "CLEO\DubStep_ upd\News.ver"
else_jump @Label000439
jump @Label00049D
if
32@ > 30000
else_jump @Label000496
chatmsg "{EBFFC9}Ошибка проверки обновления. Скрипт: {B9C9BF}News.cs" 15466441
ret 0
jump @Label000405
if
0AAB: file_exists "CLEO\DubStep_ upd\Versions.ver"
else_jump @Label00058D
0AF2: 30@ = get_float_from_ini_file "CLEO\DubStep_ upd\Versions.ver" section "Main" key "News"
0AF2: 31@ = get_float_from_ini_file "CLEO\DubStep_ upd\News.ver" section "Main" key "News"
0AF4: 5@s = read_string_from_ini_file "CLEO\DubStep_ upd\Versions.ver" section "Main" key "News"
0AF4: 6@s = read_string_from_ini_file "CLEO\DubStep_ upd\News.ver" section "Main" key "News"
jump @Label00067C
0AF3: write_float 1.0 to_ini_file "CLEO\DubStep_ upd\Versions.ver" section "Main" key "News"
0AF2: 30@ = get_float_from_ini_file "CLEO\DubStep_ upd\Versions.ver" section "Main" key "News"
0AF2: 31@ = get_float_from_ini_file "CLEO\DubStep_ upd\News.ver" section "Main" key "News"
0AF4: 5@s = read_string_from_ini_file "CLEO\DubStep_ upd\Versions.ver" section "Main" key "News"
0AF4: 6@s = read_string_from_ini_file "CLEO\DubStep_ upd\News.ver" section "Main" key "News"
if
0025: 31@ > 30@ // (float)
else_jump @Label000824
0B00: delete_file "CLEO\News.cs" // IF and SET
alloc 1@ 256
alloc 2@ 256
alloc 4@ 128
format 2@ "cleo\News.cs"
gosub @Label0009C6
call @Label000849 2 2@ 1@ 3@
0AF3: write_float 31@ to_ini_file "CLEO\DubStep_ upd\Versions.ver" section "Main" key "News"
0AF4: 6@s = read_string_from_ini_file "CLEO\DubStep_ upd\News.ver" section "Main" key "News"
format 4@ "News.cs"
if
0@ == 1
else_jump @Label0007CD
wait 0
SAMP.IsLocalPlayerSpawned
else_jump @Label000764
wait 500
alloc 10@ 256
format 10@ "{00ff00}%s {808080}version %s" 4@ 6@s
0AC6: 20@ = label @Label000897 offset
SAMP.ShowDialog(120, 10@, 20@, "Close", "", DIALOG_STYLE_MSGBOX)
free 10@
wait 0
0AAB: file_exists "CLEO\News.cs"
else_jump @Label0007CD
run 4@
free 1@
free 2@
free 4@
0B00: delete_file "CLEO\DubStep_ upd\News.ver" // IF and SET
end_thread
jump @Label000842
0B00: delete_file "CLEO\DubStep_ upd\News.ver" // IF and SET
jump @Label000A0C
0AA2: 10@ = load_library "Urlmon.dll" // IF and SET
0AA4: 11@ = get_proc_address "URLDownloadToFileA" library 10@ // IF and SET
0AA7: call_function 11@ num_params 5 pop 0 0 0 0@ 1@ 0 12@
ret 1 12@
hex
20 0A 20 0A 20 0A 7B 30 30 66 66 30 30 7D CE E1
ED EE E2 EB E5 ED E8 FF 3A 0A 20 0A 7B 66 66 66
66 66 66 7D 20 0A 20 0A 20 0A 20 0A 20 0A 20 00
end
chatmsg "" -1
chatmsg "" -1
chatmsg "" -1
chatmsg "" -1
chatmsg "" -1
chatmsg "" -1
chatmsg "" -1
chatmsg "" -1
chatmsg "Внимание!" -1342190848
chatmsg "Скрипт News.cs был переименован вами." -1342190848
chatmsg "Он не будет работать, пока не вернете прежнее имя." -1342190848
end_thread
format 1@ "https:%c%cwww.dropbox.com/s/vfhz18z5eqx6su4/News.ver?dl=1" 47 47
return
format 1@ "https:%c%cwww.dropbox.com/s/ogoroawjyhxmhlz/News.cs?dl=1" 47 47
return
ret 0