consts

Header source2mod/consts.h

Enums

CSRoundEndReason

enum CSRoundEndReason : int

Why a round ended: CCSGameRules::TerminateRound, m_eRoundWinReason / m_eRoundEndReason. SourcePawn: CSRoundEnd_*.

NameValue
CSRoundEnd_TargetBombed1
CSRoundEnd_VIPEscaped
CSRoundEnd_VIPKilled
CSRoundEnd_TerroristsEscaped
CSRoundEnd_CTStoppedEscape
CSRoundEnd_TerroristsStopped
CSRoundEnd_BombDefused
CSRoundEnd_CTWin
CSRoundEnd_TerroristWin
CSRoundEnd_Draw
CSRoundEnd_HostagesRescued
CSRoundEnd_TargetSaved
CSRoundEnd_HostagesNotRescued
CSRoundEnd_TerroristsNotEscaped
CSRoundEnd_VIPNotEscaped
CSRoundEnd_GameStart
CSRoundEnd_TerroristsSurrender
CSRoundEnd_CTSurrender
CSRoundEnd_TerroristsPlanted
CSRoundEnd_CTsReachedHostage
CSRoundEnd_SurvivalWin
CSRoundEnd_SurvivalDraw

Macros

CHAT_DEFAULT

#define CHAT_DEFAULT "\x01"

Chat colours: put one in front of the text it colours. A message that starts with a colour needs a leading space or CHAT_DEFAULT before it, or the client drops the first one. SourcePawn: the same CHAT_* names.

On this page