Functions in csx.inc

List of functions

Function Description
client_damage
Called after a client attacks another client.
client_death
Called after a client death.
grenade_throw
Called after a grenade was thrown.
bomb_planting
Called after a bomb plant attempt has started.
bomb_planted
Called after a bomb plant has finished.
bomb_explode
Called when the bomb exploded.
bomb_defusing
Called after a bomb defuse attempt has started.
bomb_defused
Called after a bomb defuse has finished.
custom_weapon_add
Adds a custom weapon to the stats system.
custom_weapon_dmg
Triggers a damage event on a custom weapon, adding it to the internal stats.
custom_weapon_shot
Adds a shot event on a custom weapon to the internal stats.
xmod_is_melee_wpn
Returns if the weapon is considered a melee weapon.
xmod_get_wpnname
Retrieves the full weapon name of a weapon id.
xmod_get_wpnlogname
Retrieves the weapon log name of a weapon id.
xmod_get_maxweapons
Returns the maximum amount of weapons that the stats system supports.
xmod_get_stats_size
Returns the number of stats tracked by the stats system.
get_map_objectives
Returns the current map's objectives as a bitflag value.