#1 19-05-2020 14:31

Kosolov325
Registered: 19-05-2020
Posts: 1

[CLEO] Press a key for player

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    

Last edited by Kosolov325 (20-05-2020 00:19)

Offline

Board footer

Powered by FluxBB