#1 Re: Вопросы по скриптингу » Вопросы по опкодам » 15-06-2012 22:19

Подскажите пожалуйста как поменять кнопку в скрипте сейчас скрипт включается на alt надо поменять на 0 (num)

вот код

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP 

:NONAME_2
wait 100 
0AB4: 0@ = var 6 
if 
   not 0@ == 1 
else_jump @NONAME_2 
if 
   Actor.Driving($PLAYER_ACTOR)
else_jump @NONAME_2 
if and
0@ = 304493 
  &0(0@,1i) == 16711680 
else_jump @NONAME_159 
03C0: 0@ = actor $PLAYER_ACTOR car 
else_jump @NONAME_2 
02E3: 1@ = car 0@ speed 
if 
   not 1@ > 2500.0 
else_jump @NONAME_235 
1@ *= 1.5 
1@ += 4.0 
Car.SetSpeedInstantly(0@, 1@)
Car.RemoveReferences(0@)

:NONAME_159
if and
0@ = 304494 
  &0(0@,1i) == 255 
else_jump @NONAME_228 
03C0: 0@ = actor $PLAYER_ACTOR car 
Car.SetSpeedInstantly(0@, 0)
Car.RemoveReferences(0@)
1@ = Car.Angle(0@)
Car.Angle(0@) = 1@

:NONAME_228
jump @NONAME_2 

:NONAME_235
wait 10 
Car.SetSpeedInstantly(0@, 2500.0)
wait 100 
jump @NONAME_2

Board footer

Powered by FluxBB