| View previous topic :: View next topic |
| Author |
Message |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Tue Oct 30, 2007 8:35 pm Post subject: |
|
|
You would put a call to the function that you are using to enable or disable your code.
_________________
- Retired. |
|
| Back to top |
|
 |
The Dami3n Master Cheater
Reputation: 1
Joined: 15 Nov 2006 Posts: 441 Location: Mulkerolandia
|
Posted: Wed Oct 31, 2007 12:52 am Post subject: |
|
|
When i made bf2 hack with Vb, i used this as hotkey button
There was also timer which allowed this to happen every 500ms...
| Code: | if(GetAsyncKeyState(VK_NUMPAD2)) //F1 is VK_F1 and so on
{
//Place your "do this when i press it" code here!
} |
_________________
|
|
| Back to top |
|
 |
Splizes Grandmaster Cheater Supreme
Reputation: 0
Joined: 21 Jun 2006 Posts: 1944 Location: Florida
|
Posted: Wed Oct 31, 2007 5:09 am Post subject: |
|
|
You guys seriously need to looks shit up
if getasynckeystate(112) then ' F1
msgbox "yay"
end if
112 'f1
113 'f2
114 'f3
115 'f4
116 'f5
|
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Wed Oct 31, 2007 5:49 am Post subject: |
|
|
| The Dami3n wrote: | When i made bf2 hack with Vb, i used this as hotkey button
There was also timer which allowed this to happen every 500ms...
| Code: | if(GetAsyncKeyState(VK_NUMPAD2)) //F1 is VK_F1 and so on
{
//Place your "do this when i press it" code here!
} |
|
That isn't VB code.
_________________
| haxory' wrote: | can't VB do anything??
windows is programmed using VB right? correct me if im wrong.
so all things in windows you have like the start menu is a windows form too. |
|
|
| Back to top |
|
 |
The Dami3n Master Cheater
Reputation: 1
Joined: 15 Nov 2006 Posts: 441 Location: Mulkerolandia
|
Posted: Wed Oct 31, 2007 5:59 am Post subject: |
|
|
| Xenephobe wrote: | | The Dami3n wrote: | When i made bf2 hack with Vb, i used this as hotkey button
There was also timer which allowed this to happen every 500ms...
| Code: | if(GetAsyncKeyState(VK_NUMPAD2)) //F1 is VK_F1 and so on
{
//Place your "do this when i press it" code here!
} |
|
That isn't VB code. |
Lol i made it with -> "Visual C++ 2005 Express Edition"
soz, sorry my bad
_________________
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Wed Oct 31, 2007 7:37 am Post subject: |
|
|
| Code: | | if(GetAsyncKeyState(dunno)) |
shouldn't this be:
| Code: | | if Odd(GetAsyncKeyState(dunno)) |
and I already said that 123 is F12.
|
|
| Back to top |
|
 |
AtheistCrusader Grandmaster Cheater
Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Wed Oct 31, 2007 12:09 pm Post subject: |
|
|
if getasinckeystate(vbkeysomething, or 123 or w/*e numbers both are right)
then
...
else
...
end if
|
|
| Back to top |
|
 |
|