[hide]Obtain a weapon:
Switch to Weapon:
Set Spawn Weapon:
Take Weapon:
or
Set Weapon ammo:
or
Set Weapon Options:
Example:
Get Perk:
Clear Perks:
Example:
All Weapon names: (thanks to @d0h!)
All weapons names (DVAR).txt (Size: 42.42 KB / Downloads: 150)
All Perk names: (don't know who made this)
All perk names (DVAR).txt (Size: 3.92 KB / Downloads: 149)
[/hide]
Code:
self giveWeapon("weapon_mp");
Switch to Weapon:
Code:
self switchToWeapon("weapon_mp");
Set Spawn Weapon:
Code:
self setSpawnWeapon("weapon_mp");
Take Weapon:
Code:
self takeWeapon("weapon_mp");
Code:
self takeAllWeapons();
Set Weapon ammo:
Code:
self setWeaponAmmoStock("weapon_mp", amount of ammo);
Code:
self giveMaxAmmo("weapon_mp");
Set Weapon Options:
Code:
self giveWeapon("weapon_mp", 0, self calcWeaponOptions( CamoNumber, LensNumber, ReticleNumber, ClantagNumber, EmblemNumber) );
Code:
Camoes: Reticle: Lens: ClanTag: Emblem:
0 = None//////0 = Dot///////////////////////0 = Clear Lens/////////0 = No//////0 = No
1 = Dusty/////1 = Semi Circles//////////////1 = Red Lens///////////1 = Yes/////1 = Yes
2 = Ice///////2 = Lines With Dot////////////2 = Blue Lens
3 = Red///////3 = Hollow Circle/////////////3 = Green Lens
4 = Olive/////4 = Smiley Face///////////////4 = Orange Lens
5 = Nevada////5 = Arrows Vertical///////////5 = Yellow Lens
6 = Sahara////6 = Arrows Horizontal
7 = ERDL//////7 = Arrows With Dot
8 = Tiger/////8 = Bones
9 = Berlin////9 = Burst
10 = Warsaw///10 = Circle Within A Circle
11 = Siberia//11 = Circle
12 = Yuhon////12 = Circle Outline
13 = Woodland/13 = Circle Outline With Dot
14 = Flora////14 = Circle with Crosshairs
15 = Gold/////15 = Circle with Outer Lines
//////////////16 = Circle With Inner Lines
//////////////17 = Circle With Arrows
//////////////18 = Circle with Triangles
//////////////19 = Outer Crosshairs
//////////////20 = Small Crosshairs
//////////////21 = Large Crosshairs
//////////////22 = Crosshairs
//////////////23 = Crosshairs With A Dot
//////////////24 = Diamond
//////////////25 = Diamond Outline
//////////////26 = Heart
//////////////27 = Radiation
//////////////28 = Skull
//////////////29 = Square
//////////////30 = Square Outline
//////////////31 = Square with Crosshairs
//////////////32 = Star
//////////////33 = Three Dots
//////////////34 = Treyarch
//////////////35 = Triangle
//////////////36 = Outer Triangles
//////////////37 = X
//////////////38 = X With Dot
//////////////39 = Yin Yang
Example:
Quote:self giveWeapon("m16_reflex_mp", 0, self calcWeaponOptions( 15, 34, 3, 1, 1 ) );
self giveMaxAmmo("m16_reflex_mp");
Get Perk:
Code:
self setPerk("perk");
Clear Perks:
Code:
self clearPerks();
Example:
Quote:self clearPerks();
self setPerk("specialty_movefaster");
All Weapon names: (thanks to @
All weapons names (DVAR).txt (Size: 42.42 KB / Downloads: 150)
All Perk names: (don't know who made this)
All perk names (DVAR).txt (Size: 3.92 KB / Downloads: 149)
[/hide]
Quote: (report) SuperNovaAO - 03-03 23:34 -- Your mom's cunt also belongs to her private parts, yet everyone knows it.
(report) OrangePL - 03-03 23:34 -- And if you can't understand, this is called PRIVATE message
My MW2 mod Group: http://steamcommunity.com/groups/davesmodzz