From 1aee3c7a120247d9f24759c3d17f659d5bb6ed52 Mon Sep 17 00:00:00 2001 From: Nord1cWarr1or <47604048+Nord1cWarr1or@users.noreply.github.com> Date: Thu, 2 Sep 2021 21:24:03 +0300 Subject: [PATCH] Add player zoom constants (#190) * Add player zoom constants * small fix func_converyor -> func_converyor * fix naming Co-authored-by: Sergey Shorokhov --- .../extra/amxmodx/scripting/include/cssdk_const.inc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/reapi/extra/amxmodx/scripting/include/cssdk_const.inc b/reapi/extra/amxmodx/scripting/include/cssdk_const.inc index 2b107a30..41483903 100644 --- a/reapi/extra/amxmodx/scripting/include/cssdk_const.inc +++ b/reapi/extra/amxmodx/scripting/include/cssdk_const.inc @@ -291,7 +291,7 @@ #define SF_WALL_TOOGLE_NOTSOLID 0x0008 /** -* func_converyor +* func_conveyor */ #define SF_CONVEYOR_VISUAL 0x0001 #define SF_CONVEYOR_NOTSOLID 0x0002 @@ -1338,3 +1338,13 @@ enum InfoMapBuyParam #define BRIGHT_GUN_FLASH 512 #define NORMAL_GUN_FLASH 256 #define DIM_GUN_FLASH 128 + +/** +* Player zoom constants +* For m_iFOV +*/ +#define DEFAULT_LARGE_AWP_ZOOM 10 +#define DEFAULT_LARGE_OTHER_SNIPERS_ZOOM 15 +#define DEFAULT_SMALL_SNIPERS_ZOOM 40 +#define DEFAULT_AUG_SG552_ZOOM 55 +#define DEFAULT_NO_ZOOM 90