summaryrefslogtreecommitdiff
path: root/source/sourcemod/scripting/include/gokz/pistol.inc
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-02-17 23:42:09 +0100
committeraura <nw@moneybot.cc>2026-02-17 23:42:09 +0100
commit5e2eb7d67ae933b7566f1944d0bb7744da03d586 (patch)
tree054acff1113270a9cd07933df760f3768c1b6853 /source/sourcemod/scripting/include/gokz/pistol.inc
parent341db13a008dc12bb22ceb50452d93d01476308c (diff)
move source stuff to its own folder
Diffstat (limited to 'source/sourcemod/scripting/include/gokz/pistol.inc')
-rw-r--r--source/sourcemod/scripting/include/gokz/pistol.inc93
1 files changed, 93 insertions, 0 deletions
diff --git a/source/sourcemod/scripting/include/gokz/pistol.inc b/source/sourcemod/scripting/include/gokz/pistol.inc
new file mode 100644
index 0000000..1edd5f9
--- /dev/null
+++ b/source/sourcemod/scripting/include/gokz/pistol.inc
@@ -0,0 +1,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
+}; \ No newline at end of file