AMX Mod X API Documentation

Signature
#define CSI_NONE CSW_NONE#define CSI_P228 CSW_P228#define CSI_GLOCK CSW_GLOCK // Unused by game, See CSI_GLOCK18.#define CSI_SCOUT CSW_SCOUT#define CSI_HEGRENADE CSW_HEGRENADE#define CSI_XM1014 CSW_XM1014#define CSI_C4 CSW_C4#define CSI_MAC10 CSW_MAC10#define CSI_AUG CSW_AUG#define CSI_SMOKEGRENADE CSW_SMOKEGRENADE#define CSI_ELITE CSW_ELITE#define CSI_FIVESEVEN CSW_FIVESEVEN#define CSI_UMP45 CSW_UMP45#define CSI_SG550 CSW_SG550#define CSI_GALIL CSW_GALIL#define CSI_FAMAS CSW_FAMAS#define CSI_USP CSW_USP#define CSI_GLOCK18 CSW_GLOCK18#define CSI_AWP CSW_AWP#define CSI_MP5NAVY CSW_MP5NAVY#define CSI_M249 CSW_M249#define CSI_M3 CSW_M3#define CSI_M4A1 CSW_M4A1#define CSI_TMP CSW_TMP#define CSI_G3SG1 CSW_G3SG1#define CSI_FLASHBANG CSW_FLASHBANG#define CSI_DEAGLE CSW_DEAGLE#define CSI_SG552 CSW_SG552#define CSI_AK47 CSW_AK47#define CSI_KNIFE CSW_KNIFE#define CSI_P90 CSW_P90#define CSI_SHIELDGUN CSW_SHIELDGUN // The real CS value, use CSI_SHELD instead.#define CSI_VEST CSW_VEST // Custom#define CSI_VESTHELM CSW_VESTHELM // Custom#define CSI_DEFUSER 33 // Custom#define CSI_NVGS 34 // Custom#define CSI_SHIELD 35 // Custom - The value passed by the forward, more convenient for plugins.#define CSI_PRIAMMO 36 // Custom#define CSI_SECAMMO 37 // Custom#define CSI_MAX_COUNT 38#define CSI_LAST_WEAPON CSW_LAST_WEAPON#define CSI_ALL_WEAPONS CSW_ALL_WEAPONS#define CSI_ALL_PISTOLS CSW_ALL_PISTOLS#define CSI_ALL_SHOTGUNS CSW_ALL_SHOTGUNS#define CSI_ALL_SMGS CSW_ALL_SMGS#define CSI_ALL_RIFLES CSW_ALL_RIFLES#define CSI_ALL_SNIPERRIFLES CSW_ALL_SNIPERRIFLES#define CSI_ALL_MACHINEGUNS CSW_ALL_MACHINEGUNS#define CSI_ALL_GRENADES CSW_ALL_GRENADES#define CSI_ALL_ARMORS CSW_ALL_ARMORS#define CSI_ALL_GUNS CSW_ALL_GUNS
Description

Constants used for the CS_OnBuy() and CS_OnBuyAttempt() forwards.

Notes
  • While these mostly overlap with the CSW_* constants the CSI_* constants

    contain custom AMXX values that do not correspond to any real value in

    the game. The CSI_* constants should therefore be used for consistency.

Назад
Верх