Results 1 to 6 of 6
  1. #1
    ipwnuuaal5's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    275
    Reputation
    16
    Thanks
    33

    "If" Check or "Brute" Commands? Which one lags less?

    Which one would lag less?

    1:
    Code:
    if (PopFromConsole("FogEnable") == 1)
    {
    PushToConsole("FogEnable 0")
    }
    Sleep(100)
    or

    2:
    Code:
    PushToConsole("FogEnable 0")
    Sleep(100)

  2. #2
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Why would it matter ? Even if it did, it would cause such little lag you wouldn't be able to notice. Besides.. just use bool vars to keep track lol.

  3. #3
    ipwnuuaal5's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    275
    Reputation
    16
    Thanks
    33
    Quote Originally Posted by Crash View Post
    Why would it matter ? Even if it did, it would cause such little lag you wouldn't be able to notice. Besides.. just use bool vars to keep track lol.
    But sometimes "FogEnable" automatically enables itself like in snow valley.

  4. #4
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,030
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Like Crash said doesnt matter.
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  5. #5
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Quote Originally Posted by ipwnuuaal5 View Post
    But sometimes "FogEnable" automatically enables itself like in snow valley.
    Still doesn't matter if you put your P*** in your directx function it will push every time present is called which is a lot depending on your FPS.

  6. #6
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive
    It doesn't matter /oshit

Similar Threads

  1. MPGH PM Chat Quote Thread
    By arunforce in forum Entertainment
    Replies: 39
    Last Post: 05-12-2013, 09:24 PM
  2. MPGH AIM Chat Quote Thread
    By ace76543 in forum Entertainment
    Replies: 30
    Last Post: 09-25-2011, 01:14 PM
  3. MPGH IRC Chat Quote Thread
    By i eat trees in forum Entertainment
    Replies: 746
    Last Post: 07-02-2011, 11:07 PM
  4. Quotes & Lists
    By radnomguywfq3 in forum General
    Replies: 15
    Last Post: 01-17-2008, 06:14 PM
  5. Favorite Quote
    By EleMentX in forum Spammers Corner
    Replies: 12
    Last Post: 12-09-2006, 05:03 PM