Results 1 to 6 of 6
  1. #1
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy

    Help: If .... And....

    Hi!
    I need help....

    How do I make something like if....and.....?

    Example:



    Code:
    if(GetAsyncKeyState(VK_SPACE)<0) and (fly = true)
    That doesn't work, so I need ur help
    -Rest in peace leechers-

    Your PM box is 100% full.

  2. #2
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    [php]
    if(GetAsyncKeyState(VK_NUMPAD0) && Fly == true)
    [/php]

  3. #3
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    Quote Originally Posted by Davidm44 View Post
    [php]
    if(GetAsyncKeyState(VK_NUMPAD0) && Fly == true)
    [/php]
    [php]if(GetAsyncKeyState(VK_SPACE) && Fly == true) { [/php]

    Doesn't work.... Get some errors:

    Code:
    error C2065: 'Fly' : undeclared identifier
    
    warning C4805: '==' : unsafe mix of type ''unknown-type'' and type 'bool' in operation


    EDIT: Fixed it, request close.

    if(GetAsyncKeyState(VK_SPACE) && (fly = true)) {
    Last edited by Zoom; 03-07-2010 at 11:36 AM.
    -Rest in peace leechers-

    Your PM box is 100% full.

  4. #4
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    If you've done the basics of C++ you should have instantly known what the problem was, whenever you see that error. I can see you're trying to make a hack there, I suggest starting by the basics if you already havent'.

    My bad if you've done them already.

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

    why06 (03-07-2010)

  6. #5
    Retoxified's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    148
    Reputation
    8
    Thanks
    171
    I detect a failure in if(GetAsyncKeyState(VK_SPACE) && (fly = true)) {

  7. The Following User Says Thank You to Retoxified For This Useful Post:

    why06 (03-07-2010)

  8. #6
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    good point Retox. This is extremely basic. You need to learn C++, so you will even understand how an if statement works.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

Similar Threads

  1. please help me, and il give account!!!
    By booboo9 in forum Trade Accounts/Keys/Items
    Replies: 2
    Last Post: 07-16-2008, 02:04 PM
  2. [HELP] BF2 and vb6 problem
    By herowarz in forum Battlefield 2 Hacks & Cheats
    Replies: 5
    Last Post: 03-29-2008, 09:34 AM
  3. help me and u get a 100% working bypass
    By pspmaster4 in forum WarRock - International Hacks
    Replies: 27
    Last Post: 06-28-2007, 03:03 PM
  4. [HELP]Warrock and DLLs
    By Aecurity in forum WarRock - International Hacks
    Replies: 0
    Last Post: 04-12-2007, 06:38 PM
  5. [Help]CE and GPS
    By 22061988 in forum WarRock - International Hacks
    Replies: 0
    Last Post: 10-15-2006, 11:20 AM