From d77d1de462b5d87451db3b03da28183e7c7790da Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Tue, 1 Feb 2011 14:51:42 -0500 Subject: [PATCH] Asher Baker - Added defines for TF2 weapon slots (r=dvander). --- plugins/include/tf2_stocks.inc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/plugins/include/tf2_stocks.inc b/plugins/include/tf2_stocks.inc index 7421d225..a9ada0f5 100644 --- a/plugins/include/tf2_stocks.inc +++ b/plugins/include/tf2_stocks.inc @@ -201,6 +201,19 @@ enum { TF_WEAPON_STICKBOMB }; +// TF2 Weapon Slots for GetPlayerWeaponSlot +enum +{ + TFWeaponSlot_Primary, + TFWeaponSlot_Secondary, + TFWeaponSlot_Melee, + TFWeaponSlot_Grenade, + TFWeaponSlot_Building, + TFWeaponSlot_PDA, + TFWeaponSlot_Item1, + TFWeaponSlot_Item2 +}; + // Identifiers for the eventtype property on the teamplay_flag_event event enum { TF_FLAGEVENT_PICKEDUP = 1,