- 171
- 60
нашел скрипт на блок удара с мобайла, Для блока нужна нажать на стрелку вниз, но этот виджет появляется только в транспорте, И когда я в транспорте на него жмякаю то все работает. Как исправить?
CLEO:
{$CLEO .csa}
0000:
04ED: load_animation "FIGHT_B"
:Block
wait 0
if and
0256: player $PLAYER_ACTOR defined
04EE: animation "FIGHT_B" loaded
jf @Block
if
02D8: actor $PLAYER_ACTOR current_weapon == 0
jf @Block
if
0A51: is_widget_pressed 13
jf @Block
0393: actor $PLAYER_ACTOR perform_animation "FIGHTB_BLOCK" at 0.4 times_normal_rate
0812: AS_actor $PLAYER_ACTOR perform_animation "FIGHTB_BLOCK" IFP "FIGHT_B" framedelta 10.0 loopA 0 lockX 1 lockY 1 lockF 0 time -1
jump @Block
004E: terminate_this_script