Functions

tsx.inc

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