1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
/*
gokz-pistol Plugin Include
Website: https://bitbucket.org/kztimerglobalteam/gokz
*/
#if defined _gokz_pistol_included_
#endinput
#endif
#define _gokz_pistol_included_
// =====[ ENUMS ]=====
enum
{
Pistol_Disabled = 0,
Pistol_USPS,
Pistol_Glock18,
Pistol_DualBerettas,
Pistol_P250,
Pistol_FiveSeveN,
Pistol_Tec9,
Pistol_CZ75Auto,
Pistol_DesertEagle,
Pistol_R8Revolver,
PISTOL_COUNT
};
// =====[ CONSTANTS ]=====
#define PISTOL_OPTION_NAME "GOKZ - Pistol"
#define PISTOL_OPTION_DESCRIPTION "Pistol - 0 = Disabled, 1 = USP-S / P2000, 2 = Glock-18, 3 = Dual Berettas, 4 = P250, 5 = Five-SeveN, 6 = Tec-9, 7 = CZ75-Auto, 8 = Desert Eagle, 9 = R8 Revolver"
stock char gC_PistolNames[PISTOL_COUNT][] =
{
"", // Disabled
"USP-S / P2000",
"Glock-18",
"Dual Berettas",
"P250",
"Five-SeveN",
"Tec-9",
"CZ75-Auto",
"Desert Eagle",
"R8 Revolver"
};
stock char gC_PistolClassNames[PISTOL_COUNT][] =
{
"", // Disabled
"weapon_hkp2000",
"weapon_glock",
"weapon_elite",
"weapon_p250",
"weapon_fiveseven",
"weapon_tec9",
"weapon_cz75a",
"weapon_deagle",
"weapon_revolver"
};
stock int gI_PistolTeams[PISTOL_COUNT] =
{
CS_TEAM_NONE, // Disabled
CS_TEAM_CT,
CS_TEAM_T,
CS_TEAM_NONE,
CS_TEAM_NONE,
CS_TEAM_CT,
CS_TEAM_T,
CS_TEAM_NONE,
CS_TEAM_NONE,
CS_TEAM_NONE
};
// =====[ DEPENDENCY ]=====
public SharedPlugin __pl_gokz_pistol =
{
name = "gokz-pistol",
file = "gokz-pistol.smx",
#if defined REQUIRE_PLUGIN
required = 1,
#else
required = 0,
#endif
};
|