i know nothing about lua, but i can do something in assembly.
Code:
header is the new allocated memory
terminate is where the jump to the original instructions
key one count is a counter for your key to see how many times it pressed.
header:
cmp byte ptr [KeyOneCount],0A
jz terminate
...
do some stuff
...
inc [KeyOneCount]
jmp terminate
KeyOneCount:
db 00
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum