Question About giveweapon...

The Dark Side

Former Staff Member
Messages
1,007
Reaction score
784
Points
993
I've always wondered about the arguments.

I know its usually just Giveweapon( <weapon name here>)
But it can also be, for example.

giveWeapon("knife_mp", 0, 1, (15, 0, 0, 0, 0 ));

The 15 is a camo argument. But i don't know what the others are. Anybody know?
 

vampytwist

"Don't you trust me?"
Messages
645
Reaction score
624
Points
758
self giveWeapon( <weapon>, <variant>, <dualWeildBoolien> );

guessing the rest has to do with attachments on the weapon
 

The Dark Side

Former Staff Member
Messages
1,007
Reaction score
784
Points
993
self giveWeapon( <weapon>, <variant>, <dualWeildBoolien> );

guessing the rest has to do with attachments on the weapon
That's what i was thinking but i cant find the actual code anywhere in the dumps...

variant and dualwield huh? o.o Variant like... what though?
 

vampytwist

"Don't you trust me?"
Messages
645
Reaction score
624
Points
758
I'm honestly not thats sure or familiar with black ops 2 to be honest, I was taking a guess; but It just throws an error anyway whenever you try to use more than 2 params with give weapon or at least it does with me. xD
 

The Dark Side

Former Staff Member
Messages
1,007
Reaction score
784
Points
993
I'm honestly not thats sure or familiar with black ops 2 to be honest, I was taking a guess; but It just throws an error anyway whenever you try to use more than 2 params with give weapon or at least it does with me. xD
Yeah it did with me too. I didnt think those were attachment args because if you wanted one with attachments all you do islike.

ballista_mp = original gun
ballista_mp+laser = Gun with laser.

No args are changed and it works just fine. I have no idea what the other things do. But i wish i did...
 

Pyrex BLJ

im done :)
Messages
605
Reaction score
338
Points
953
Yeah it did with me too. I didnt think those were attachment args because if you wanted one with attachments all you do islike.

ballista_mp = original gun
ballista_mp+laser = Gun with laser.

No args are changed and it works just fine. I have no idea what the other things do. But i wish i did...
try them lol
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,327
Reaction score
763
Points
973
I've always wondered about the arguments.

I know its usually just Giveweapon( <weapon name here>)
But it can also be, for example.

giveWeapon("knife_mp", 0, 1, (15, 0, 0, 0, 0 ));

The 15 is a camo argument. But i don't know what the others are. Anybody know?
This mystery will live on forever.
 

The Dark Side

Former Staff Member
Messages
1,007
Reaction score
784
Points
993
This mystery will live on forever.
giphy.gif
 
Top