CLEO Help help to find error unknown directive key_down 82

CLEO related
Status
Not open for further replies.

ramez

Active member
Joined
Jun 11, 2015
Messages
120
Reaction score
0
Location
GB
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

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

:Noname_2
wait 0
if
key_down 82
jf @Noname_46

:Noname_21
wait 0
not key_down 82
jf @Noname_21
0B12: 0@ = 0@ XOR 1

:Noname_46
if
0@ == 1
jf @Noname_585
0393: actor $PLAYER_ACTOR perform_animation "python_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "python_fire_poor" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "python_crouchfire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "shotgun_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "shotgun_fire_poor" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "shotgun_crouchfire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "SilenceCrouchfire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "Silence_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_fire_poor" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_crouchfire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "colt45_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "colt45_fire_poor" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "colt45_crouchfire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "uzi_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "uzi_fire_poor" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "uzi_crouchfire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "flame_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "flame_fire_poor" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "flame_crouchfire" at 13.37 times_normal_rate

:Noname_585
goto @Noname_2
 

veysileth

Active member
Joined
Mar 23, 2017
Messages
85
Reaction score
6
:Noname_2
wait 0
if key_down 82
jf @Noname_2
0393: actor $PLAYER_ACTOR perform_animation "python_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "python_fire_poor" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "python_crouchfire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "shotgun_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "shotgun_fire_poor" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "shotgun_crouchfire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "SilenceCrouchfire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "Silence_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_fire_poor" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "RIFLE_crouchfire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "colt45_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "colt45_fire_poor" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "colt45_crouchfire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "uzi_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "uzi_fire_poor" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "uzi_crouchfire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "flame_fire" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "flame_fire_poor" at 13.37 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "flame_crouchfire" at 13.37 times_normal_rate
goto @Noname_2

Thats btw wouldnt it work too code wise?
 
Status
Not open for further replies.
Top