Constants

cstrike.inc

amxmodx 1.8.2 hg65

CsInternalModel

CsInternalModel

Set user team without killing player.
If model is anything other than CS_DONTCHANGE, that will be set as player's model.

enum CsInternalModel {
	CS_DONTCHANGE = 0,
	CS_CT_URBAN = 1,
	CS_T_TERROR = 2,
	CS_T_LEET = 3,
	CS_T_ARCTIC = 4,
	CS_CT_GSG9 = 5,
	CS_CT_GIGN = 6,
	CS_CT_SAS = 7,
	CS_T_GUERILLA = 8,
	CS_CT_VIP = 9,
	CZ_T_MILITIA = 10,
	CZ_CT_SPETSNAZ = 11
};

CsTeams

CsTeams

Get team directly from player's entity.
1 = terrorist
2 = counter-terrorist
3 = spectator

enum CsTeams {
	CS_TEAM_UNASSIGNED = 0,
	CS_TEAM_T = 1,
	CS_TEAM_CT = 2,
	CS_TEAM_SPECTATOR = 3
};

CsArmorType

CsArmorType

Returns armor value and sets by reference the armor type in second parameter.

enum CsArmorType {
	CS_ARMOR_NONE = 0, // no armor
	CS_ARMOR_KEVLAR = 1, // armor
	CS_ARMOR_VESTHELM = 2 // armor and helmet
};

CS_MAPZONE_BUY

CS_MAPZONE_BUY
#define CS_MAPZONE_BUY 			(1<<0)

CS_MAPZONE_BOMBTARGET

CS_MAPZONE_BOMBTARGET
#define CS_MAPZONE_BOMBTARGET 		(1<<1)

CS_MAPZONE_HOSTAGE_RESCUE

CS_MAPZONE_HOSTAGE_RESCUE
#define CS_MAPZONE_HOSTAGE_RESCUE 	(1<<2)

CS_MAPZONE_ESCAPE

CS_MAPZONE_ESCAPE
#define CS_MAPZONE_ESCAPE		(1<<3)

CS_MAPZONE_VIP_SAFETY

CS_MAPZONE_VIP_SAFETY
#define CS_MAPZONE_VIP_SAFETY 		(1<<4)

Zoom type enum. Used for get/set_user_zoom() natives.

enum
{
	CS_RESET_ZOOM = 0,		// Reset any zoom blocking (when using this type, mode has no effect)
	CS_SET_NO_ZOOM,			// Disable any sort of zoom (ie: to disable zoom in all weapons use this with mode=0)
	CS_SET_FIRST_ZOOM,		// Set first zoom (awp style)
	CS_SET_SECOND_ZOOM,		// Set second zoom (awp style)
	CS_SET_AUGSG552_ZOOM,		// Set aug/sg552 zoom style
};