From 5eef4bccd38e76812712b6eb7beb5f181a3ea06c Mon Sep 17 00:00:00 2001 From: Bara Date: Wed, 28 May 2014 15:32:58 +0200 Subject: [PATCH] Add CS_DMG_HEADSHOT define but i don't know if it works in other games. ( I'm using this already in my only headshot plugin - https://forums.alliedmods.net/showthread.php?t=234169 and works fine in CSS/CSGO ) --- plugins/include/cstrike.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/include/cstrike.inc b/plugins/include/cstrike.inc index ffc1fa2a..556f271c 100644 --- a/plugins/include/cstrike.inc +++ b/plugins/include/cstrike.inc @@ -46,6 +46,8 @@ #define CS_SLOT_GRENADE 3 /**< Grenade slot (will only return one grenade). */ #define CS_SLOT_C4 4 /**< C4 slot. */ +#define CS_DMG_HEADSHOT (1 << 30) /**< Headshot */ + enum CSRoundEndReason { CSRoundEnd_TargetBombed = 0, /**< Target Successfully Bombed! */