Enumerations2
Defines12
SymbolDescription
CS_DMG_HEADSHOTHeadshot
CS_SLOT_BOOSTSlot for healthshot and shield (will only return one weapon/item).
CS_SLOT_C4C4 slot.
CS_SLOT_GRENADEGrenade slot (will only return one grenade).
CS_SLOT_KNIFEKnife slot.
CS_SLOT_PRIMARYPrimary weapon slot.
CS_SLOT_SECONDARYSecondary weapon slot.
CS_SLOT_UTILITYSlot for tablet.
CS_TEAM_CTCounter-Terrorists.
CS_TEAM_NONENo team yet.
CS_TEAM_SPECTATORSpectators.
CS_TEAM_TTerrorists.
Forwards4
SymbolDescription
CS_OnBuyCommandCalled when a player attempts to purchase an item. Return Plugin_Continue to allow the purchase or return a higher action to deny.
CS_OnCSWeaponDropCalled when CSWeaponDrop is called Return Plugin_Continue to allow the call or return a higher action to block.
CS_OnGetWeaponPriceCalled when game retrieves a weapon's price for a player. Return Plugin_Continue to use default value or return a higher action to use a newly-set price.
CS_OnTerminateRoundCalled when TerminateRound is called. Return Plugin_Continue to ignore, return Plugin_Changed to continue, using the given delay and reason, or return Plugin_Handled or a higher action to block TerminateRound from firing.
Functions23
SymbolDescription
CS_AliasToWeaponIDGets a weaponID from a alias
CS_DropWeaponForces a player to drop or toss their weapon
CS_GetClientAssistsGets a client's assists (CS:GO only)
CS_GetClientClanTagGets a clients clan tag
CS_GetClientContributionScoreGets a client's contribution score (CS:GO only)
CS_GetMVPCountGets a client's mvp count
CS_GetTeamScoreGets a team's score
CS_GetTranslatedWeaponAliasGets a weapon name from a weapon alias
CS_GetWeaponPriceGets a weapon's price
CS_IsValidWeaponIDReturns weather a WeaponID is valid on the current mod (css or csgo)
CS_ItemDefIndexToIDReturns a CSWeaponID equivalent based on the item definition index.
CS_RespawnPlayerRespawns a player.
CS_SetClientAssistsSets a client's assists (CS:GO only)
CS_SetClientClanTagSets a clients clan tag
CS_SetClientContributionScoreSets a client's contribution score (CS:GO only)
CS_SetMVPCountSets a client's mvp count
CS_SetTeamScoreSets a team's score
CS_SwitchTeamSwitches the player's team.
CS_TerminateRoundForces round to end with a reason
CS_UpdateClientModelSets a player's model based on their current class
CS_WeaponIDToAliasGets a alias from a weaponID
CS_WeaponIDToItemDefIndexReturns a item definition index equivalent based on the CSWeaponID.
CS_WeaponIDToLoadoutSlotReturns the loadout slot based on the CSWeaponID. (CS:GO only)