#1 GTA Modding » [CLEO] Press a key for player » 19-05-2020 14:31

Kosolov325
Replies: 1

Can someone tell me a simple way to do a actiong or press a key for player?
For example,

{$CLEO .cs}
:CBUG
03A4: name_thread 'CBUG' 
0001: wait 0 ms

:CBUG_01
0001: wait 0 ms
if and
02D8:   actor $PLAYER_ACTOR current_weapon == 24 
0AB0:   key_pressed 2
02D8:   actor $PLAYER_ACTOR current_weapon == 24
0AB0:   key_pressed 1
004D: jump_if_false @CBUG_01
//press key here
jump @CBUG_01    

Board footer

Powered by FluxBB