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,356
    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
    Wilds's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    522
    Reputation
    1
    Thanks
    170
    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 Wilds; 03-03-2011 at 02:32 PM.

  3. #18
    AtomicStone's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    827
    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,356
    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,423
    Reputation
    112
    Thanks
    693
    Quote Originally Posted by Sydney View Post
    Guys stop posting your shit.

    He got enough.
    Agreed! 0

  6. #21
    Wilds's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    522
    Reputation
    1
    Thanks
    170
    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,356
    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
    Wilds's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    522
    Reputation
    1
    Thanks
    170
    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,843
    Reputation
    425
    Thanks
    8,616
    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,356
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused
    No I didnt called noob a Spamz0r

    Thanks Cosmos


  11. #26
    Wilds's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    522
    Reputation
    1
    Thanks
    170
    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 Wilds; 03-04-2011 at 06:53 PM.

Page 2 of 2 FirstFirst 12