Results 1 to 3 of 3
  1. #1
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy

    [SOLVED]Check gametype

    Well, does anyone know how to make an if statement if the gametype is #.
    like
    [php]
    if(g_gametype sd == true)
    self thread lol1();
    else
    self thread lol2();
    [/php]
    EDIT: How the fuck did this thread get here? pl0x move it to GSC Help section
    Last edited by TheLynx; 10-24-2010 at 02:30 PM.

  2. #2
    bomb21's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Unknown
    Posts
    57
    Reputation
    10
    Thanks
    22
    this is going to get closed or moved....anyways:

    Code:
    if(getDvar("g_gametype") == "sd")
    do stuff
    else
    do stuff

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

    TheLynx (10-24-2010)

  4. #3
    House's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    2,990
    Reputation
    223
    Thanks
    9,296
    My Mood
    Cynical
    /Marked as Solved
    /Moved to GSC Help

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

    TheLynx (10-25-2010)

Similar Threads

  1. [SOLVED] 1 little question about gametype!!
    By adyson_19 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 09-13-2010, 05:20 AM
  2. [Help]Check a Box[Solved]
    By ppl2pass in forum Visual Basic Programming
    Replies: 6
    Last Post: 04-26-2010, 03:43 AM
  3. [Request] Checking a windows state.[Solved]
    By CoderNever in forum Visual Basic Programming
    Replies: 7
    Last Post: 04-10-2010, 10:06 PM
  4. [Help]Checking Lines[Solved]
    By ppl2pass in forum Visual Basic Programming
    Replies: 4
    Last Post: 03-29-2010, 10:36 AM
  5. [Solved]WebBrowser Check
    By ppl2pass in forum Visual Basic Programming
    Replies: 2
    Last Post: 02-24-2010, 03:24 PM