CLEO Help How to stop shooting when I click on the LMB

CLEO related
Status
Not open for further replies.
Joined
Dec 10, 2018
Messages
7
Reaction score
1
I don't know how to stop shooting when I click on the LMB. I want to do that to set my own shooting code.
Help me please thank everybody.
 
Joined
Dec 10, 2018
Messages
7
Reaction score
1
Thank, I can stop shooting when i click on the LMB

Code:
CONST
    POINT_CONTROLS = 0xB73458
    FIRE_BULLET_OFFSET = 34
    OFF  = 0
    LMB = 17
END

IF
    00E1:   player 0 pressed_key LMB
THEN
    $Control = POINT_CONTROLS
    $Control += FIRE_BULLET_OFFSET
    0A8C: write_memory $Control size 4 value OFF virtual_protect 0
END
 
Status
Not open for further replies.
Top