CLEO cs INCLUDE SF 0000 wait 3500 0B34 samp register_client_comm and n

 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
{$CLEO .cs}
{$INCLUDE SF}
0000:
wait 3500
0B34: samp register_client_command "nickp" to_label @nickp 5@ 1@
0B34: samp register_client_command "mynick" to_label @my_nick 6@ 5@ 3@
while true
wait 0
end
:nickp
0B35: samp 0@ = get_last_command_params
0AD4: 3@ = scan_string 0@ format "%d" 5@ 1@
wait 1000
chatmsg "Вы предложили %d пройти у Вас курс платного лечения за %d$" color 0x3399ff 5@ 1@
Samp.CmdRet()
:my_nick
0B35: samp 0@ = get_last_command_params
0AD4: 3@ = scan_string 0@ format "%d" 6@ 5@ 3@
wait 1000
chatmsg "[MED] Медработник %d провел курс лечения у %d за %d$" color 0x99cc99 6@ 5@ 3@
0ACF: show_formatted_styled_text "~g~+%d$" time 4000 style 2 3@
Samp.CmdRet()