CLEO:
while true
wait 0
0470: 0@ = actor $PLAYER_ACTOR current_weapon
if 0@ == 24
then
chatmsg "У меня в руках дигл, го зажимать кнопку 123" -1
key_pressed 123
0C72: set_virtual_key 123 down true
end
if 0@ == 25
then
chatmsg "У меня в руках дробовик, го зажимать кнопку 123" -1
key_pressed 123
0C72: set_virtual_key 123 down true
end
end