Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
{$CLEO}
wait 0
var
0@ : int
1@ : int
end
while true
wait 0
0226: 0@ = actor $PLAYER_ACTOR health
1@ = 0
while 1@ >= 0
wait 0
0226: 1@ = actor $PLAYER_ACTOR health
1@ -= 0@
end
// Draw texture
end
{$CLEO}
thread "Freeze"
while true
wait 0
if
0ab0: 82
then
0AF8: samp add_message_to_chat "Âàø ïåðñîíàæ çàìîðîæåí." color 0xFF0000
while 0ab0: 82
wait 0
Actor.LockInCurrentPosition($Player_Actor) = true
if
8ab0: 82
then
0AF8: samp add_message_to_chat "Âàù ïåðñîíàæ ðàçìîðîæåí." color 0x00FF00
Actor.LockInCurrentPosition($Player_Actor) = false
if and
0ab0: 69
Actor.Driving($Player_Actor)
then
0AF8: samp add_message_to_chat "Âàøå òðàíñïîðòíîå ñðåäñòâî çàìîðîæåíî." color 0xFF0000
while 0ab0: 69
wait 0
Car.LockInCurrentPosition($Player_Actor) = true
if
8ab0: 69
then
0AF8: samp add_message_to_chat "Âàùå òðàíñïîðòíîå ñðåäñòâî ðàçìîðîæåíî." color 0x00FF00
Car.LockInCurrentPosition($Player_Actor) = false
end
end
end
end
end
end
end
{$CLEO}
thread "Freeze"
while true
wait 0
if
0ab0: 82
then
0AF8: samp add_message_to_chat "Âàø ïåðñîíàæ çàìîðîæåí." color 0xFF0000
while 0ab0: 82
wait 0
Actor.LockInCurrentPosition($Player_Actor) = true
if
8ab0: 82
then
0AF8: samp add_message_to_chat "Âàù ïåðñîíàæ ðàçìîðîæåí." color 0x00FF00
Actor.LockInCurrentPosition($Player_Actor) = false
if and
0ab0: 69
Actor.Driving($Player_Actor)
then
0AF8: samp add_message_to_chat "Âàøå òðàíñïîðòíîå ñðåäñòâî çàìîðîæåíî." color 0xFF0000
while 0ab0: 69
wait 0
Car.LockInCurrentPosition($Player_Actor) = true
if
8ab0: 69
then
0AF8: samp add_message_to_chat "Âàùå òðàíñïîðòíîå ñðåäñòâî ðàçìîðîæåíî." color 0x00FF00
Car.LockInCurrentPosition($Player_Actor) = false
end
end
end
end
end
end
end
Нужно пропарсить циклом for ники всех игроков сервера и сверить ник со строкой, если найдено то отправляешь сообщение этому иду. Если не ясно, то скину код, в личку стукнешь.