List of functions in tsx.inc

Function Description
client_damage
Function is called after player to player attacks ,
if players were damaged by teammate TA is set to 1
client_death
Function is called after player death ,
if player was killed by teammate TK is set to 1
custom_weapon_add
function will return index of new weapon
custom_weapon_dmg
Function will pass damage done by this custom weapon to stats module and other plugins
custom_weapon_shot
Function will pass info about custom weapon shot to stats module
xmod_is_melee_wpn
function will return 1 if true
xmod_get_wpnname
Returns weapon name.
xmod_get_wpnlogname
Returns weapon logname.
xmod_get_maxweapons
Returns weapons array size
xmod_get_stats_size
Returns stats array size ex. 8 in TS , 9 in DoD
register_statsfwd
Use this function to register forwards
DEPRECATED
xmod_is_custom_wpn
Returns 1 if true
ts_weaponspawn
Spawns a Weapon