CLEO SF Thread Fribi wait 2000 reg_cmd inv inv alloc 64 While True wai

 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
{$CLEO}
{$I SF}
Thread "Fribi"
wait 2000
reg_cmd "inv" @inv
alloc 4@ 64
While True
wait 0
if 0B3C: samp is_dialog_responded id 67 button 2@ list_item 0 input_text 4@
then
if 2@ == 1
then
if 0B23: samp is_player_connected 4@
then
0B20: samp 5@ = actor_handle_by_samp_player_id 4@
if 0256: player 5@ defined
then
0af8: "[Gang Bot] Id: %d" -1 4@
free 4@
end
end
end
end
end
:inv
0AC8: 0@ = allocate_memory_size 64
0AD3: 0@ = format "Ââåäèòå id èãðîêà."
0B3B: samp show_dialog id 67 caption "Gang Bot" text 0@ button_1 "Ïðîäîëæèòü" button_2 "Çàêðûòü" style DIALOG_STYLE_INPUT
0AC9: free_allocated_memory 0@
0B43: samp cmd_ret