Results 1 to 5 of 5
  1. #1
    wassup40's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    I dont know help me
    Posts
    2,238
    Reputation
    28
    Thanks
    789
    My Mood
    Lurking

    How to add a hotkey

    Hey guy's here's a little tut on how to add a hotkey to your hack
    First you want to bool the name of your hotkey/hack
    So add a bool in between
    Code:
    }
    While(true)
    so it will look like this
    Code:
    void main()
    {
    bool chams=false;
    while(true)
    next you want to add your hotkey
    so first add this at the top of your hack
    Code:
    if(GetAsyncKeyState(Key you want)<0){
    then
    Code:
    if(chams){	
    			PushToConsole("SkelModelStencil 0");
    				chams = false;
    			} else {
    				PushToConsole("SkelModelStencil 1");
    				chams = true;

  2. The Following 4 Users Say Thank You to wassup40 For This Useful Post:

    HaX4LiFe! (10-06-2010),mierda87 (10-05-2010),NOOB (10-05-2010),Spook (10-05-2010)

  3. #2
    shugeevan's Avatar
    Join Date
    Aug 2007
    Gender
    male
    Posts
    479
    Reputation
    9
    Thanks
    87
    Thanks for the contribution, but..could I ask a question?
    Regardless, I'm still asking you.

    Why'd you post this? Lol.

  4. #3
    MrSkafighter's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    410
    Reputation
    23
    Thanks
    2,236
    My Mood
    Cool
    Quote Originally Posted by shugeevan View Post
    Thanks for the contribution, but..could I ask a question?
    Regardless, I'm still asking you.

    Why'd you post this? Lol.
    I Think He Was Bored So He Do This LOL.

  5. The Following User Says Thank You to MrSkafighter For This Useful Post:

    sam1 (10-08-2010)

  6. #4
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    My Mood
    Flirty
    Quote Originally Posted by MrSkafighter View Post

    I Think He Was Bored So He Do This LOL.
    Probably to copy Toxin..
    Your "tutorial" also fails.

    You also bool'ed in the wrong spot. Bool in the global decelerations ><
    Also, Your Key doesnt really help anyone.
    You can add a key in 2 ways, either via Virtual Key or Hex.

  7. #5
    Spook's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,649
    Reputation
    26
    Thanks
    568
    Well done.

    Very good tutorial, understandable and not over written.
    I'm back.

Similar Threads

  1. [Release] How To Add Hotkeys To Your Programs/Hacks
    By **HACKER** in forum CrossFire Tutorials
    Replies: 1
    Last Post: 01-06-2011, 03:43 PM
  2. How to add a password?
    By str1k3r21 in forum Visual Basic Programming
    Replies: 1
    Last Post: 10-20-2007, 05:16 PM
  3. how to add picture in vb6 trainer problem!!
    By 123456789987654321 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 06-09-2007, 12:47 PM
  4. [TUT] How to add Oriental/Korean Fonts
    By Cadelaf in forum WarRock Korea Hacks
    Replies: 2
    Last Post: 05-06-2007, 12:08 PM
  5. how to add pointers
    By ragman1234 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 04-15-2007, 10:51 AM