Bullet0070
Новичок
- 14
- 0
А сама ошибка в моём коде есть? Не могу усвоить по рабочему коду, который даёт абсолютно другие функции) Мне интересна ошибка именно в этом коде:
Код:
{$CLEO}
0000:
:targetcmd
wait 0
if
0AD2: 0@ = player $PLAYER_CHAR targeted_actor //IF and SET
else_jump @targetcmd
if
0AB0: key_pressed 69
then
0B2B: samp 1@ = get_player_id_by_actor_handle 0@
0AF9: samp say_msg "/su %d 5 Article 1.3 of the Criminal Code" 1@
wait 1000
0B2B: samp 1@ = get_player_id_by_actor_handle 0@
0AF9: samp say_msg "/take gunlicense %d 5" 1@
end
if
0AB0: key_pressed 49
then
0B2B: samp 1@ = get_player_id_by_actor_handle 0@
0AF9: samp say_msg "/take driverslicense %d 3" 1@
end
if
0AB0: key_pressed 51
then
0B2B: samp 1@ = get_player_id_by_actor_handle 0@
0AF9: samp say_msg "/su %d 6 Article 2.2 of the Criminal Code" 1@
wait 1000
0B2B: samp 1@ = get_player_id_by_actor_handle 0@
0AF9: samp say_msg "/take gunlicense %d 7" 1@
wait 1000
0B2B: samp 1@ = get_player_id_by_actor_handle 0@
0AF9: samp say_msg "/take driverslicense %d 7" 1@
wait 1000
0B2B: samp 1@ = get_player_id_by_actor_handle 0@
0AF9: samp say_msg "/take boatlicense %d 7" 1@
wait 1000
0B2B: samp 1@ = get_player_id_by_actor_handle 0@
0AF9: samp say_msg "/take flyinglicense %d 7" 1@
end
jump @targetcmd