{$CLEO}
0000:
:SAMPAv
wait 0
0AFA: is_samp_available
jf @SAMPAv
0AF8: samp add_message_to_chat "{FF0000}[AutoHeal] {EAEAEA} Ñêðèïò" color -1
// 0A93:
while true
wait 0
if and
8B21: samp is_chat_closed
0AB0: key_pressed 16
then
if 0AB0: key_pressed 49 // 2
then
0@ = true
0AF8: samp add_message_to_chat "{FF0000}[AutoHeal] {EAEAEA} Ñêðèïò âêëþ÷åí. Äåàêòèâàöèÿ íà ñî÷åòàíèå êëàâèø - Shift+2." -1
0AB1: call @wait_key 1 key 49
continue
end
if 0AB0: key_pressed 50 // 3
then
0@ = false
0AF8: samp add_message_to_chat "{FF0000}[AutoHeal] {EAEAEA} Ñêðèïò âûêëþ÷åí. Àêòèâàöèÿ íà ñî÷åòàíèå êëàâèø - Shift+1." color -1
0AB1: call @wait_key 1 key 50
continue
end
end
if 0@ == true
then
1@ = Actor.Health($PLAYER_ACTOR)
if and
1@ <= 15
1@ > 0
then
0AF9: say "/usemeds"
wait 1
0AF9: say "/usedrugs cocaine"
end
end
end
:wait_key
while 0AB0: key_pressed 0@
wait 0
end
0AB2: ret 0