[CLEO] — Fake Hitman(reloaded by legend2360)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{$CLEO}
0000:
0662: "by legend2360"
0662: "BlastHack - cheating is art"
alloc 3@ 32
alloc 4@ 32
memset 3@ 0 32
memset 4@ 0 32
0b34: samp register_client_command "fk_write" to_label @write_script
0b34: samp register_client_command "fk_send" to_label @send_script
0BDE: pause_thread 0
:write_script
0B35: samp 0@ = get_last_command_params
0AA7: call 0x8220AD num_params 6 pop 6 params 1@v 2@v 3@ 4@ "%s %s %d %d" string 0@ retr_svars 5@
if 5@ == 4
then
0AF5: write_string 4@ to_ini_file "CLEO\config.ini" section "SaveFake" key "HitName"
0AF5: write_string 3@ to_ini_file "CLEO\config.ini" section "SaveFake" key "PlaName"
0AF1: write_int 2@ to_ini_file "CLEO\config.ini" section "SaveFake" key "PlaID"
0AF1: write_int 1@ to_ini_file "CLEO\config.ini" section "SaveFake" key "ConSumma"
else 0AF8: samp add_message_to_chat "<< /fk_write [Ник хитмана] [Ник игрока] [ID Игрока] [Сумма] >>"
end
0b43: samp cmd_ret
:send_script
memset 3@ 0 32
memset 4@ 0 32
0AF4: 4@ = read_string_from_ini_file "CLEO\config.ini" section "SaveFake" key "HitName"
0AF4: 3@ = read_string_from_ini_file "CLEO\config.ini" section "SaveFake" key "PlaName"
0AF0: 2@ = get_int_from_ini_file "CLEO\config.ini" section "SaveFake" key "PlaID"
0AF0: 1@ = get_int_from_ini_file "CLEO\config.ini" section "SaveFake" key "ConSumma"
0AF8: samp add_message_to_chat "<< Хитман %s выполнил контракт на %s[%d] и получил $%d >>" color -1 4@ 3@ 2@ 1@
0b43: samp cmd_ret