How to stop shooting when I click on the LMB

Status
Not open for further replies.
Joined
Dec 10, 2018
Messages
4
Likes
0
Points
1
1
#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.
 
OP
OP
P
Joined
Dec 10, 2018
Messages
4
Likes
0
Points
1
1
#3
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