sza23 Active member Joined Apr 5, 2013 Messages 44 Reaction score 2 Jul 1, 2017 #1 :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.
: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.
sza23 Active member Joined Apr 5, 2013 Messages 44 Reaction score 2 Jul 2, 2017 #2 Bump . Upvote 0 Downvote
springfield God Joined Feb 18, 2005 Messages 2,965 Reaction score 273 Jul 3, 2017 #3 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. Upvote 0 Downvote
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.