CLEO Help how to press any key with sanny builder?

CLEO related
Status
Not open for further replies.

sza23

Active member
Joined
Apr 5, 2013
Messages
44
Reaction score
2
:arrow:  how to script with cleo this? example if type /cleopress, cleo press one key example Enter or F1 F2  A B.. etc..  :shy:


:arrow:  Everyone can help me?  :shy:  :shy:

:arrow:  Thanks.  :)
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
0B56: set_game_key 1@ state 2@
0C72: set_virtual_key 0@ down true
0C73: set_char_key 0@ down false

These above require SAMPFUNCS, otherwise you'd have to use some winapi like PostMessage, SendInput etc.
 
Status
Not open for further replies.
Top