- 282
- 11
Надо что-бы при прицеливании в игрока(зеленый треугольник) и нажатии цифры 1(не num) скрипт писал: "kulak_id" и id в кого прицелились. Understand? Заранее благодарю. Просто сам пытался cделать, не получилось что не так:
{$CLEO .cs}
thread "su2-3"
0662: "BitRate"
if not 0@ = SAMP.Base()
then 0A93: end_custom_thread
end
while not SAMP.Available()
wait 100
end
while true
wait 0
if and
0AD2: 29@ = player $PLAYER_CHAR targeted_actor //IF and SET
0AB0: key_pressed 49 // 4
then
10@ = SAMP.GetSAMPPlayerIDByActorHandle(29@)
wait 10
0AF9: samp say_msg "/kulak_id %d" 10@
wait 500
end
end
{$CLEO .cs}
thread "su2-3"
0662: "BitRate"
if not 0@ = SAMP.Base()
then 0A93: end_custom_thread
end
while not SAMP.Available()
wait 100
end
while true
wait 0
if and
0AD2: 29@ = player $PLAYER_CHAR targeted_actor //IF and SET
0AB0: key_pressed 49 // 4
then
10@ = SAMP.GetSAMPPlayerIDByActorHandle(29@)
wait 10
0AF9: samp say_msg "/kulak_id %d" 10@
wait 500
end
end
Последнее редактирование: