Functions in tsx.inc

List of functions

Function Description
register_statsfwd
Use this function to register forwards
DEPRECATED
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
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
xmod_is_custom_wpn
Returns 1 if true
ts_weaponspawn
Spawns a Weapon