View previous topic :: View next topic |
Author |
Message |
Insecurely Newbie cheater Reputation: 0
Joined: 02 Dec 2014 Posts: 23
|
Posted: Sun Dec 21, 2014 6:21 am Post subject: Hotkey Script |
|
|
So i'm making a d3dhook trainer that worked.
"function CEButton1Click(sender)
d3dhook_setWireframeMode(true)
end"
Like that.
But I would like to have a hot key with the script.
So I could just click forexample N on the keyboard then wireframe activates.
Write down the script needed for that. Make the hotkey N.
Thanks!
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Sun Dec 21, 2014 6:34 am Post subject: |
|
|
Use createHotkey(<function>, <keys>)
Code: |
function CEButton1Click(sender)
d3dhook_setWireframeMode(true)
end
createHotkey(CEButton1Click, VK_N)
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Insecurely Newbie cheater Reputation: 0
Joined: 02 Dec 2014 Posts: 23
|
Posted: Sun Dec 21, 2014 7:02 am Post subject: |
|
|
Dark Byte wrote: | Use createHotkey(<function>, <keys>)
Code: |
function CEButton1Click(sender)
d3dhook_setWireframeMode(true)
end
createHotkey(CEButton1Click, VK_N)
|
|
Thank you. It only worked with setWireframeMode.
I'm trying to set hotkeys at this one
function CEButton3Click(sender)
d3dhook_setDisabledZBuffer(true)
end
createHotkey(CEButton3Click, VK_c)
But it doesn't work with setDisabledZBuffer... I've tried everything.
Any ideas?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Sun Dec 21, 2014 7:16 am Post subject: |
|
|
VK_c does not exist. use VK_C
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Insecurely Newbie cheater Reputation: 0
Joined: 02 Dec 2014 Posts: 23
|
Posted: Sun Dec 21, 2014 7:30 am Post subject: |
|
|
Dark Byte wrote: | VK_c does not exist. use VK_C |
Thank you very much. I appreciate it. I feel like a idiot now. Haha.
|
|
Back to top |
|
|
|