Does this mean
If e is pressed do code?Code:if(GetAsyncKeyState(0x45)&1)
Does this mean
If e is pressed do code?Code:if(GetAsyncKeyState(0x45)&1)
(0x30)
0 key
(0x31)
1 key
(0x32)
2 key
(0x33)
3 key
(0x34)
4 key
(0x35)
5 key
(0x36)
6 key
(0x37)
7 key
(0x38)
8 key
(0x39)
9 key
- (0x3A-40)
Undefined
(0x41)
A key
(0x42)
B key
(0x43)
C key
(0x44)
D key
(0x45)
E key
(0x46)
F key
(0x47)
G key
(0x48)
H key
(0x49)
I key
(0x4A)
J key
(0x4B)
K key
(0x4C)
L key
(0x4D)
M key
(0x4E)
N key
(0x4F)
O key
(0x50)
P key
(0x51)
Q key
(0x52)
R key
(0x53)
S key
(0x54)
T key
(0x55)
U key
(0x56)
V key
(0x57)
W key
(0x58)
X key
(0x59)
Y key
(0x5A)
Z key
Yes, every key has a seprate value other than their original VK_WHATEVER.
Say I wanted to trigger a function with the left mouse button. I could do:
or I could doCode:if(GetAsyncKeystate(VK_LBUTTON)<0){
It would be the exact same thing.Code:if(GetAsyncKeyState(0x01)<0) {
Letters don't have VK values so you would have to use hex values for them.
Daum guys..
[php]
if(GetAsyncKeyState( VkKeyScan('e') )
{
//
}
[/php]
why if you making far reach hack just leave it auto on cuz every time they press e it will turn of and on
or u can find my post.....in c++ area jez us...
^...,^ JR
spare account LOL
Lmao
Virtual-Key Codes
Any donations would help
Originally Posted by Bombsaway707Originally Posted by BloodOriginally Posted by Alby-kunOriginally Posted by AliOriginally Posted by CodeDemon[21:13] CoderNever: HOLY SHIT ITS USER1!Yes it is me... Yup Yup
[IMG]https://i111.photobucke*****m/albums/n121/golmor/learntoprogram-1.png[/IMG]