Page 2 of 2 FirstFirst 12
Results 16 to 26 of 26
  1. #16
    Sydney's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Germany...
    Posts
    1,358
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused
    Easy like shit:

    Code:
    if(fly){
    
    		if( GetAsyncKeyState(VK_SPACE) < 0 )
    			push( "PlayerGravity 800" );
    else
    			push( "PlayerGravity -800" );
    }

    Thanks Cosmos


  2. #17
    wolffang0000's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    597
    Reputation
    1
    Thanks
    165
    My Mood
    Relaxed
    Quote Originally Posted by CA_ View Post

    I think it's just me because I have tried so many codes yet none of them work.
    try as flames said
    Code:
    if(fly<0)
    if(GetAsyncKeyState(VK_SPACE)<0)//try &1 instead of <0 if u still have problems...
    {
         //ON PTC HERE
    } else {
         //OFF PTC HERE
    }
    also with the flying off the edge thing, switch ur PTC's around and then u should be good to go (the values of PTC)
    Last edited by wolffang0000; 03-03-2011 at 03:32 PM.

  3. #18
    AtomicStone's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    828
    Reputation
    18
    Thanks
    476
    My Mood
    Lurking
    You could just do
    Code:
     if(fly){
    
    		if( GetAsyncKeyState(VK_SPACE) < 0 )
    			pRunConsoleCommand( "PlayerGravity 800" );
     }else{
    	 		if( GetAsyncKeyState(VK_SPACE) < 0 )
    			pRunConsoleCommand( "PlayerGravity -800" );
    }

  4. #19
    Sydney's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Germany...
    Posts
    1,358
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused
    Guys stop posting your shit.

    He got enough.

    Thanks Cosmos


  5. #20
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Quote Originally Posted by Sydney View Post
    Guys stop posting your shit.

    He got enough.
    Agreed! 0

  6. #21
    wolffang0000's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    597
    Reputation
    1
    Thanks
    165
    My Mood
    Relaxed
    Quote Originally Posted by Sydney View Post
    Guys stop posting your shit.

    He got enough.
    nahh imma just keep goin

  7. #22
    Sydney's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Germany...
    Posts
    1,358
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused
    Quote Originally Posted by wolffang0000 View Post
    nahh imma just keep goin
    Keep that doing noob spamz0r

    Thanks Cosmos


  8. #23
    wolffang0000's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    597
    Reputation
    1
    Thanks
    165
    My Mood
    Relaxed
    Quote Originally Posted by Sydney View Post
    Keep that doing noob spamz0r
    u called N00B a spamz0r

  9. #24
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,863
    Reputation
    425
    Thanks
    8,598
    Quote Originally Posted by Sydney View Post
    noob spamz0r
    I AM NOT SPAMZ0R.

  10. #25
    Sydney's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Germany...
    Posts
    1,358
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused
    No I didnt called noob a Spamz0r

    Thanks Cosmos


  11. #26
    wolffang0000's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    597
    Reputation
    1
    Thanks
    165
    My Mood
    Relaxed
    lol looks like u did :P

    but anyway, STAY ON TOPICC this thread'll get closed if u dont :b
    Last edited by wolffang0000; 03-04-2011 at 07:53 PM.

Page 2 of 2 FirstFirst 12