Hello all. So, within this winter holidays I was getting bored, so just today( now ) I made a script which have the constants of all the key binds which can be used in OnKeyUp and OnKeyDown.
If you find any bug, report it to me, enjoy the script as well!
Here you go:-
Link: http://files.thijn.ovh/download/c0cf00d2b804bba30d02fcaf5a8f550c/Virtual%20keys.nut
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2Fc0cf00d2b804bba30d02fcaf5a8f550c%2FVirtual%2520keys.nut&hash=26a3d989deea0e035af3e230efcbc6534586ba24) (http://files.thijn.ovh/download/c0cf00d2b804bba30d02fcaf5a8f550c/Virtual%20keys.nut)
Please don't hurt me by saying comments like, "How to use", "Where to paste" etc.
Load it to your script using:-
dofile("Virtual keys.nut",true);
-You can put it anywhere, but we prefer to put it in onScriptLoad()
Ahh, wait, these are not working.
I'll fix them ASAP.
Till then don't download please!
EDIT:- The script seems to be fixed, now it's updated too!
And yet... How does this qualify as a script?
Ehmm. Rename topic to [filterscript]
@KAKAN
Quote from: S.L.C on Dec 27, 2015, 11:47 AMAnd yet... How does this qualify as a script?
I just released it, so that it can help others.
Quote from: Kusanagi on Dec 27, 2015, 12:13 PMEhmm. Rename topic to [filterscript] @KAKAN
Thanks!
Quote from: KAKAN on Dec 27, 2015, 01:28 PMQuote from: S.L.C on Dec 27, 2015, 11:47 AMAnd yet... How does this qualify as a script?
I just released it, so that it can help others.
No. I mean, what makes this a script and not a snippet? Is it because its a file?
Quote from: S.L.C on Dec 27, 2015, 01:32 PMQuote from: KAKAN on Dec 27, 2015, 01:28 PMQuote from: S.L.C on Dec 27, 2015, 11:47 AMAnd yet... How does this qualify as a script?
I just released it, so that it can help others.
No. I mean, what makes this a script and not a snippet? Is it because its a file?
Maybe yes. This had many lines as a snippet, that's why I posted it here.
Quote from: KAKAN on Dec 27, 2015, 01:33 PMMaybe yes. This had many lines as a snippet, that's why I posted it here.
Probably has less code than this (http://forum.vc-mp.org/?topic=1437.msg9890#msg9890) or this (http://forum.vc-mp.org/?topic=944.msg6067#msg6067) :-\
Quote from: S.L.C on Dec 27, 2015, 01:49 PMQuote from: KAKAN on Dec 27, 2015, 01:33 PMMaybe yes. This had many lines as a snippet, that's why I posted it here.
Probably has less code than this (http://forum.vc-mp.org/?topic=1437.msg9890#msg9890) or this (http://forum.vc-mp.org/?topic=944.msg6067#msg6067) :-\
Probably more than this. (http://forum.vc-mp.org/?topic=1591.0) :-\
Moved to snippets. It does nothing by it's own. You need to make your own code work with this. Which, I believe, make this more of a snippet then an actual script.