Results 1 to 6 of 6
  1. #1
    nikolai13's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Aus NSW
    Posts
    74
    Reputation
    10
    Thanks
    2
    My Mood
    Bored

    [SOLVED] Trying to Use Dvars

    Hey sorry for all these posts but i need some more help, when im trying to use Dvars in my mod it doesn't work. I use the:

    doDvars()
    {
    (dvar codes)
    }

    But it doesn't seem to work can anyone help?
    Last edited by Insane; 09-01-2010 at 12:43 PM.

  2. #2
    JamesA1994's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    The dark side
    Posts
    1,703
    Reputation
    271
    Thanks
    529
    My Mood
    Psychedelic
    In your on player spawned, put
    self thread doDvars()

  3. #3
    CJKay's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    27
    Reputation
    10
    Thanks
    28
    My Mood
    Lurking
    onPlayerSpawned() should contain self thread doDvars(); somewhere after self waittill("spawned_player");.

    Then do the typical setDvar() setup

  4. #4
    JamesA1994's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    The dark side
    Posts
    1,703
    Reputation
    271
    Thanks
    529
    My Mood
    Psychedelic
    Quote Originally Posted by CJKay View Post
    onPlayerSpawned() should contain self thread doDvars(); somewhere after self waittill("spawned_player");.

    Then do the typical setDvar() setup
    Oh yeah, I forgot the ;
    Nice spotting xD

    Please report back...

  5. #5
    nikolai13's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Aus NSW
    Posts
    74
    Reputation
    10
    Thanks
    2
    My Mood
    Bored
    thank you so much guys you are the best

  6. #6
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,057
    Reputation
    1007
    Thanks
    2,013
    /Marked as Solved

    Ex Middleman

Similar Threads

  1. [Solved] I'm trying to use paypal but problem.
    By 48Aces in forum Combat Arms Help
    Replies: 1
    Last Post: 08-30-2011, 10:17 PM
  2. [Solved] Crossfire won't load after trying to use bypass
    By SirKinky in forum CrossFire Help
    Replies: 8
    Last Post: 08-18-2011, 02:12 PM
  3. [SOLVED] How to use Dvars
    By Elmfuzzy in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 07-03-2010, 03:59 AM
  4. [Help] CA cant start anymore, after tried to use hack! (Picture)
    By Noxit in forum Combat Arms Europe Hacks
    Replies: 18
    Last Post: 08-07-2009, 08:38 AM
  5. Error im getting when trying to use the nexon plugin
    By mpghhackersrock123 in forum WarRock Korea Hacks
    Replies: 4
    Last Post: 03-16-2008, 09:38 AM

Tags for this Thread