CLEO 0000 wait repeat wait 400 until 0AFA is_samp_structures_a vailabl

 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{$CLEO}
0000:
wait 0
repeat
wait 400
until 0AFA: is_samp_structures_available
0ac8: alloc 1@ 156
0ac8: alloc 2@ 96
//chat "GalaxY: Âçíîñ: $3000 | Âîéòè: /joinz 4{FF6347}0{FF6347}1{FF6347}8." 0xFF6347 // mmm....
while true
wait 0
if 0ab0: key_down 97
then 0af8: "active" -1
end
while 0ab0: key_down 97
wait 0
end
repeat
wait 0
while true
wait 0
0B75: samp get_chat_string 99 text_to 1@ prefix_to 2@ color_to 3@ prefix_color_to 4@
if 0C18: 0@ = strstr string1 1@ string2 "GalaxY"
then
if 0C18: 0@ = strstr string1 1@ string2 "/joinz"
then
call @read_struct 3 struct 0@ offset 7 size 1 to 5@
call @read_struct 3 struct 0@ offset 16 size 1 to 6@
call @read_struct 3 struct 0@ offset 25 size 1 to 7@
call @read_struct 3 struct 0@ offset 34 size 1 to 8@}
0C0C: 5@ = struct 0@ offset 0x7 size 1
0C0C: 6@ = struct 0@ offset 0x13 size 1
0C0C: 7@ = struct 0@ offset 0x19 size 1
0C0C: 8@ = struct 0@ offset 0x22 size 1
0af9: say "/joinz %c%c%c%c" 5@ 6@ 7@ 8@
while true // stop flood
wait 0
0B75: samp get_chat_string 99 text_to 1@ prefix_to 2@ color_to 3@ prefix_color_to 4@
0C18: 4@ = strstr string1 1@ string2 "/joinz"
if 803b: 4@ <> 0@
then break
end
end
end
end
if 0C18: 0@ = strstr string1 1@ string2 "$50.000 ïåðåâåäåíû íà òâîé ñ÷¸ò"
then
0C16: 0@ = strtok string1 1@ string2 "]"
0C18: 0@ = strstr string1 0@ string2 "["
0@++ // blablabla [id] >> [id >> id
0af9: say "/lawyer %s" 0@
end
if 0C18: 0@ = strstr string1 1@ string2 "ïðåäëàãàåò òåáå êóïèòü ëåêàðñòâî çà"
then
0af9: say "/accept meds"
end
end
until 0ab0: key_down 97
0af8: "deactive" -1
end
:read_struct
// call @read_struct 3 struct 0@ offset 1@ size 2@ to 3@
005a: 0@ += 1@
0A8D: 3@ = read_memory 0@ size 2@ virtual_protect 1
ret 1 3@