CLEO Help Changing activation to LMB

CLEO related

4r017

New member
Joined
Nov 23, 2021
Messages
1
Reaction score
1
Location
England
Hi, I would like to change the activation of this cleo to "LMB" if that's possible.


Thanks for help

4r017
 

Attachments

  • nitro.cs
    275 bytes · Views: 8
  • nitro.txt
    17 bytes · Views: 5

Kross

Active member
Joined
Dec 15, 2021
Messages
149
Reaction score
42
Hi, I would like to change the activation of this cleo to "LMB" if that's possible.


Thanks for help

4r017
PHP:
{$CLEO .cs}

0000: NOP

:NONAME_85
wait 0
if
   Actor.Driving($PLAYER_ACTOR)
jf @NONAME_268
1@ = Actor.CurrentCar($PLAYER_ACTOR)
046C: 2@ = car 1@ driver
if
003C:   $PLAYER_ACTOR == 2@ // (int)
jf @NONAME_245
0A97: 3@ = car 1@ struct
3@ += 2212
if
key_down 1
jf @NONAME_238
09E9: car 1@ set_single_nitro

:NONAME_177
key_down 1
jf @NONAME_214
wait 0
0A8C: write_memory 3@ size 4 value -0.5 virtual_protect 1
jump @NONAME_177

:NONAME_214
06E8: car 1@ destroy_component 1008
06E8: car 1@ destroy_component 1009
06E8: car 1@ destroy_component 1010

:NONAME_238
jump @NONAME_268

:NONAME_245
   Actor.Driving($PLAYER_ACTOR)
jf @NONAME_268
wait 0
jump @NONAME_245

:NONAME_268
jump @NONAME_85
 

Attachments

  • nitro.cs
    18.2 KB · Views: 3
Top