Results 1 to 5 of 5
  1. #1
    mirc00's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    78

    Syntax giveWeapon

    Hey,

    what's the right syntax for giveWeapon in MW2?

    self giveWeapon( "cheytac_fmj_mp", 6, true );

    The first one is the weapon, but what means "6" and true?

    greets!

  2. #2
    DviRR's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    27
    Reputation
    10
    Thanks
    0
    The 6 its the color and the true is akimbo and false is not akimbo if the gun is akimbo so true if not so false i think

  3. #3
    intervention61's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    285
    Reputation
    10
    Thanks
    829
    My Mood
    Cool
    6 is camo, true/false iis akimbo or not.

  4. #4
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    152
    My Mood
    Amazed
    Quote Originally Posted by mirc00 View Post
    Hey,

    what's the right syntax for giveWeapon in MW2?

    self giveWeapon( "cheytac_fmj_mp", 6, true );

    The first one is the weapon, but what means "6" and true?

    greets!
    6 is the camo number, depend of number you´ll get one camo or another. The true means akimbo, in that case put false, intervention cant be akimbo without modifying the weapon file.

  5. #5
    mirc00's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    78
    Thank you guys. I have another question, and don't want to open another thread..

    //got it.

    Thanks!
    Last edited by mirc00; 08-24-2011 at 12:24 PM.

Similar Threads

  1. [C++] Tutorial 3: In-Depth Syntax and Rules
    By Schyler in forum C++/C Programming
    Replies: 1
    Last Post: 04-15-2010, 04:18 PM
  2. VB6 - VB.net Syntax Coversions
    By NextGen1 in forum Visual Basic Programming
    Replies: 2
    Last Post: 01-21-2010, 02:48 PM
  3. error C2061: syntax error : identifier '__RPC__out_xcount_part'
    By That0n3Guy in forum C++/C Programming
    Replies: 12
    Last Post: 11-06-2009, 02:25 PM
  4. [Help]I get these SYNTAX errors.Please Help
    By phoenixraider in forum C++/C Programming
    Replies: 2
    Last Post: 10-18-2008, 08:57 PM
  5. Writeprocessmemory syntax
    By djtrickdog in forum C++/C Programming
    Replies: 11
    Last Post: 08-16-2008, 03:46 PM