CLEO Help Crouching

CLEO related
Status
Not open for further replies.

Badonga

Active member
Joined
Aug 5, 2013
Messages
71
Reaction score
0
Hey, why isn't this working for me:

Code:
if
0597:   actor $PLAYER_ACTOR crouching
//blablabla

It always returns true even when I am not crouching.
Is there a way to get a condition if I am crouching?
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Code:
{$CLEO .cs}

0000: NOP

:CROUCHED
wait 0
if
0597:   actor $PLAYER_ACTOR crouching
else_jump @CROUCHED
if
key_down 49
else_jump @CROUCHED
0ACD: show_text_highpriority "CROUCHED M8" time 1337
jump @CROUCHED
Use it like this.
Works like a charm!
 
Status
Not open for further replies.
Top