#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

#2 30-06-2020 02:21

OTAKEIRO
Registered: 26-06-2020
Posts: 1

Re: [CLEO] Press a key for player

Usando opcode 00e1

Sou Portugu?s, talvez meu tradutor deve ter bugado!

Offline

Board footer

Powered by FluxBB