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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
/*
gokz-paint Plugin Include
Website: https://bitbucket.org/kztimerglobalteam/gokz
*/
#if defined _gokz_paint_included_
#endinput
#endif
#define _gokz_paint_included_
// =====[ ENUMS ]=====
enum PaintOption:
{
PAINTOPTION_INVALID = -1,
PaintOption_Color,
PaintOption_Size,
PAINTOPTION_COUNT
};
enum
{
PaintColor_Red = 0,
PaintColor_White,
PaintColor_Black,
PaintColor_Blue,
PaintColor_Brown,
PaintColor_Green,
PaintColor_Yellow,
PaintColor_Purple,
PAINTCOLOR_COUNT
};
enum
{
PaintSize_Small = 0,
PaintSize_Medium,
PaintSize_Big,
PAINTSIZE_COUNT
};
// =====[ CONSTANTS ]=====
#define PAINT_OPTION_CATEGORY "Paint"
#define MIN_PAINT_SPACING 1.0
stock char gC_PaintOptionNames[PAINTOPTION_COUNT][] =
{
"GOKZ Paint - Color",
"GOKZ Paint - Size"
};
stock char gC_PaintOptionDescriptions[PAINTOPTION_COUNT][] =
{
"Paint Color",
"Paint Size - 0 = Small, 1 = Medium, 2 = Big"
};
stock char gC_PaintOptionPhrases[PAINTOPTION_COUNT][] =
{
"Options Menu - Paint Color",
"Options Menu - Paint Size"
};
stock int gI_PaintOptionCounts[PAINTOPTION_COUNT] =
{
PAINTCOLOR_COUNT,
PAINTSIZE_COUNT
};
stock int gI_PaintOptionDefaults[PAINTOPTION_COUNT] =
{
PaintColor_Red,
PaintSize_Medium
};
stock char gC_PaintColorPhrases[PAINTCOLOR_COUNT][] =
{
"Options Menu - Red",
"Options Menu - White",
"Options Menu - Black",
"Options Menu - Blue",
"Options Menu - Brown",
"Options Menu - Green",
"Options Menu - Yellow",
"Options Menu - Purple"
};
stock char gC_PaintSizePhrases[PAINTSIZE_COUNT][] =
{
"Options Menu - Small",
"Options Menu - Medium",
"Options Menu - Big"
};
// =====[ DEPENDENCY ]=====
public SharedPlugin __pl_gokz_paint =
{
name = "gokz-paint",
file = "gokz-paint.smx",
#if defined REQUIRE_PLUGIN
required = 1,
#else
required = 0,
#endif
};
|