- Messages
- 5,093
- Reaction score
- 2,881
- Points
- 1,103
Hello guys,
today I was working on my new menu and I found out some stuff for black ops 1. I do not take any credits due that it is gamebased and developed by treyarch! I hope it helps you!
To give a weapon in black ops 1:
For example, this will give the player a ak74u.
The function giveWeapon has these inputs in black ops 1:
self giveWeapon(<weaponname>, 0, self calcWeaponOptions ( <camo>, <lens>, <reticle>, <tag>, <emblem> ));
<weaponname>
Enter here the weapon name of the weapon you want to give:
<camo>
Enter a int to define a camo:
Example:
Code:
self giveWeapon("famas_mp", 0, self calcWeaponOptions ( 12, 0, 0, 0, 0 ));
<lens>
Enter a int number to define the lens color (RGB Color):
<reticle>
Change the number of <reticle> to number of your reticle.
<tag> <emblem>
Tag and emblem are simple two boolean which are define if your emblem/tag will display on the weapon:
That is everything for now! I will add later all about the attachments and grenades.
If you have any question, do not hesitate to ask it below!
Regards,
CabCon.
today I was working on my new menu and I found out some stuff for black ops 1. I do not take any credits due that it is gamebased and developed by treyarch! I hope it helps you!
To give a weapon in black ops 1:
PHP:
self giveWeapon("weaponname");
For example, this will give the player a ak74u.
PHP:
self giveWeapon("ak74u_mp");
The function giveWeapon has these inputs in black ops 1:
self giveWeapon(<weaponname>, 0, self calcWeaponOptions ( <camo>, <lens>, <reticle>, <tag>, <emblem> ));
<weaponname>
Enter here the weapon name of the weapon you want to give:
<camo>
Enter a int to define a camo:
Code:
0-None
1- Dusty
2-Ice
3-Red
4-Olive
5-Nevada
6-Sahara
7-ERDL
8-Tiger
9-Berlin
10-Warsaw
11-Siberia
12-Yukon
13-Woodland
14-Flora
15-Gold
Example:
Code:
self giveWeapon("famas_mp", 0, self calcWeaponOptions ( 12, 0, 0, 0, 0 ));
<lens>
Enter a int number to define the lens color (RGB Color):
Code:
0-255 255 255
1-255 0 0
2-0 0 255
3-0 255 0
4-255 75 0
5-255 255 0
<reticle>
Change the number of <reticle> to number of your reticle.
Code:
1-Dot
2-Semi-Circle
3-Lines With Dot
4-Circle
5-Smiley Face
6-Arrows Horizontal
7-Arrows Vertical
8-Arrows With Dot
9-Bones
10-Burst
11-Circle Within A Circle
12-Circle
13-Circle Outline
14-Circle Outline With DOt
15-Circle With Crosshairs
16-Circle With Outer Lines
17-Circle with Inner Lines
18-Circle With Arrows
19-Circle With Triangles
20-Outer Crosshairs
21-Small Crosshairs
22-Large Crosshairs
23-Crosshairs
24-Crosshairs With Dot
25-Diamond
26-Diamond Outline
27-Heart
28-Radiation
29-Skull
30-Square
31-Square Outline
32-Square With Crosshairs
33-Star
34-Three Dots
35-Treyarch
36-Triangle
37-Outer triangles
38-X
39-X With Dot
40-Ying Yang
<tag> <emblem>
Tag and emblem are simple two boolean which are define if your emblem/tag will display on the weapon:
Code:
1-Display
0-Do not display it
That is everything for now! I will add later all about the attachments and grenades.
If you have any question, do not hesitate to ask it below!
Regards,
CabCon.