Results 1 to 3 of 3
  1. #1
    wraithkilla's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    257
    Reputation
    10
    Thanks
    905
    My Mood
    Busy

    Variable not increasing/decreasing

    Code:
    int BereichItem=1;
    
    if (GetAsyncKeyState (VK_UP)&1){
    	BereichItem ++ ; }
    if (GetAsyncKeyState (VK_DOWN)&1){
    	BereichItem -- ;}
    //
    if (BereichItem <= 1){
    	BereichItem = 4;}
    
    if (BereichItem >= 4){
    	BereichItem =4;}
    why does the BereichItem not change if i press the arrow keys up /down ? o.O
    Last edited by wraithkilla; 12-18-2011 at 07:47 PM.

  2. #2
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    Where is the code.
    The int should be in globals

    ---------- Post added at 08:17 PM ---------- Previous post was at 08:17 PM ----------

    Where is the code.
    The int should be in globals
    No I do not make game hacks anymore, please stop asking.

  3. The Following User Says Thank You to flameswor10 For This Useful Post:

    wraithkilla (12-19-2011)

  4. #3
    wraithkilla's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    257
    Reputation
    10
    Thanks
    905
    My Mood
    Busy
    thanks @flameswor10 forgot to write the int into globals xd thx alot for help

    im currently writing a base and this is needed für the menu controll ^^

Similar Threads

  1. Increasing FPS Decrease Lags
    By Dguard in forum Soldier Front General
    Replies: 19
    Last Post: 05-17-2011, 06:47 AM
  2. POST COUNT WILL NOT BE INCREASED
    By CyberGenius in forum General
    Replies: 12
    Last Post: 03-10-2011, 06:28 AM
  3. How To Decrease Ping And Increase FPS In Combat Arms
    By TheKamikazes in forum Combat Arms Hacks & Cheats
    Replies: 8
    Last Post: 07-28-2009, 03:18 AM
  4. Not To Hard To make (Right?)
    By brucevduyn in forum Help & Requests
    Replies: 12
    Last Post: 01-17-2006, 02:51 PM
  5. sig question (NOT A SIG REQUEST)
    By kvmn8 in forum Art & Graphic Design
    Replies: 5
    Last Post: 01-15-2006, 11:27 AM