// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
{$USE bitwise}
{$USE ini}
0000: NOP
:NONAME_2
wait 300
SAMP.Available
jf @NONAME_2
0AA2: 0@ = load_library "user32.dll" // IF and SET
0AA4: 1@ = get_proc_address "keybd_event" library 0@ // IF and SET
chatmsg "[Timer_capture] {ffffff}Çàãðóæåí! Äëÿ óñòàíîâêè âðåìåíè {A856FF}/ctime{ffffff} (÷àñîâ) (ìèíóò) (ñåêóíä) (ìèëëèñåêóíä)" color 5877479
chatmsg "[Timer_capture] {ffffff}Äëÿ àêòèâàöèè èñïîëüçóé {A856FF}/cstart.{ffffff} Àâòîð {fcad00}Serge_Ton [02]" color 5877479
0B34: samp register_client_command "ctime" to_label @NONAME_908
0B34: samp register_client_command "cstart" to_label @NONAME_1173
:NONAME_321
wait 0
if
20@ == 1
jf @NONAME_901
17@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
17@ = SAMP.GetPlayerPing(17@)
call @NONAME_1185 0 3@ 4@ 5@ 6@ 7@ 8@ 9@ 10@
005A: 10@ += 17@ // (int)
alloc 15@ = allocate_memory_size 256
0AF4: 15@ = read_string_from_ini_file "cleo\timer_capture.ini" section "timer_capture" key "time"
format 15@ = format "%d %d %d %d" 11@ 12@ 13@ 16@
if and
003B: 7@ == 11@ // (int)
003B: 8@ == 12@ // (int)
003B: 9@ == 13@ // (int)
002D: 10@ >= 16@ // (int)
jf @NONAME_802
say "/capture_biz"
0AA7: call_function 1@ num_params 4 pop 0 0 1 0 13 2@
wait 50
0AA7: call_function 1@ num_params 4 pop 0 0 3 0 13 2@
say "/capture_biz "
0AA7: call_function 1@ num_params 4 pop 0 0 1 0 13 2@
wait 50
0AA7: call_function 1@ num_params 4 pop 0 0 3 0 13 2@
say "/capture_biz "
0AA7: call_function 1@ num_params 4 pop 0 0 1 0 13 2@
wait 50
0AA7: call_function 1@ num_params 4 pop 0 0 3 0 13 2@
say "/capture_biz "
0AA7: call_function 1@ num_params 4 pop 0 0 1 0 13 2@
wait 50
0AA7: call_function 1@ num_params 4 pop 0 0 3 0 13 2@
20@ = 0
jump @NONAME_901
:NONAME_802
printf "~g~„še¯ ¢pe¯¬.~n~eky¡ee: %d:%d:%d:%d~n~Yc¦a®o¢že®o:%d:%d:%d:%d" time 1 7@ 8@ 9@ 10@ 11@ 12@ 13@ 16@
free 15@
:NONAME_901
jump @NONAME_321
:NONAME_908
SAMP.IsCommandTyped(0@)
if
0AD4: 2@ = scan_string 0@ format "%d %d %d %d" 11@ 12@ 13@ 16@
jf @NONAME_1164
alloc 14@ = allocate_memory_size 256
format 14@ = format "%d %d %d %d" 11@ 12@ 13@ 16@
0AF5: write_string 14@ to_ini_file "cleo\timer_capture.ini" section "timer_capture" key "time"
chatmsg "[Timer_capture] {ffffff}Âðåìÿ óñïåøíî óñòàíîâëåíî íà %d ÷àñîâ %d ìèíóò %d ñåêóíä %d ìèëëèñåêóíä" color 11032319 11@ 12@ 13@ 16@
:NONAME_1164
20@ = 1
SAMP.CmdRet
:NONAME_1173
0B12: 20@ = 20@ XOR 1
SAMP.CmdRet
:NONAME_1185
0AA2: 0@ = load_library "kernel32.dll" // IF and SET
0AA4: 1@ = get_proc_address "GetLocalTime" library 0@ // IF and SET
alloc 2@ = allocate_memory_size 32
0AA5: call 1@ num_params 1 pop 0 2@
0A8D: 3@ = read_memory 2@ size 2 virtual_protect 0
2@ += 2
0A8D: 4@ = read_memory 2@ size 2 virtual_protect 0
2@ += 2
0A8D: 5@ = read_memory 2@ size 2 virtual_protect 0
2@ += 2
0A8D: 6@ = read_memory 2@ size 2 virtual_protect 0
2@ += 2
0A8D: 7@ = read_memory 2@ size 2 virtual_protect 0
2@ += 2
0A8D: 8@ = read_memory 2@ size 2 virtual_protect 0
2@ += 2
0A8D: 9@ = read_memory 2@ size 2 virtual_protect 0
2@ += 2
0A8D: 10@ = read_memory 2@ size 2 virtual_protect 0
2@ -= 30
ret 8 3@ 4@ 5@ 6@ 7@ 8@ 9@ 10@