CLEO Help [HELP] Detect animations then do some commands you want

CLEO related
Status
Not open for further replies.

silentl747

Active member
Joined
Jul 7, 2014
Messages
96
Reaction score
0
Hi,

How to detect when the actor is running/moving without aiming then it will perform some actions code i want. and if the actor is aiming it will perform some action i want too..


THANKS IN ADVANCE

I will give an +rep for who can help me!
 

pepeelpubero

Well-known member
Joined
Jan 21, 2014
Messages
433
Reaction score
1
Running/moving:
Code:
if
82A0: not actor $PLAYER_ACTOR stopped
then
do action

or

Code:
if
00E1:   player 0 pressed_key 16 // run/sprint key, check: F12>SCM Doc.>GTA SA>Keypress Numbers
then
do action

Aiming:
Code:
if
00E1:   player 0 pressed_key 6 // aiming, check: F12>SCM Doc.>GTA SA>Keypress Numbers
then
do action
 
Status
Not open for further replies.
Top