TFCX
Content:
Notes
The Team Fortress Classic module (TFCX) was developed by SidLuke/ It has two main portions, generic Team Fortress Classic natives and a TFC statistical package. The statistical functions are not listed because they are the same as in the DoDX module. TFCX contains the following constats: Ammo Constants
enum {
	TFC_AMMO_SHELLS = 0, 
	TFC_AMMO_BULLETS, 
	TFC_AMMO_CELLS, 
	TFC_AMMO_ROCKETS, 
	TFC_AMMO_NADE1, 
	TFC_AMMO_NADE2, 
};

Weapon Constants
enum {
	TFC_WPN_NONE = 0,
	TFC_WPN_TIMER,//TFC_WPN_UNK1,
	TFC_WPN_SENTRYGUN,//TFC_WPN_UNK2,
	TFC_WPN_MEDIKIT,
	TFC_WPN_SPANNER,
	TFC_WPN_AXE,
	TFC_WPN_SNIPERRIFLE,
	TFC_WPN_AUTORIFLE,
	TFC_WPN_SHOTGUN,
	TFC_WPN_SUPERSHOTGUN,
	TFC_WPN_NG,
	TFC_WPN_SUPERNG,
	TFC_WPN_GL,
	TFC_WPN_FLAMETHROWER,
	TFC_WPN_RPG,
	TFC_WPN_IC,
	TFC_WPN_FLAMES,//TFC_WPN_UNK16,
	TFC_WPN_AC,
	TFC_WPN_UNK18,
	TFC_WPN_UNK19,
	TFC_WPN_TRANQ,
	TFC_WPN_RAILGUN,
	TFC_WPN_PL,
	TFC_WPN_KNIFE,
	TFC_WPN_CALTROP, // 24
	TFC_WPN_CONCUSSIONGRENADE,
	TFC_WPN_NORMALGRENADE,
	TFC_WPN_NAILGRENADE,
	TFC_WPN_MIRVGRENADE,
	TFC_WPN_NAPALMGRENADE,
	TFC_WPN_GASGRENADE,
	TFC_WPN_EMPGRENADE,
};

Class Constants
enum {
	TFC_PC_SCOUT = 1,
	TFC_PC_SNIPER,
	TFC_PC_SOLDIER,
	TFC_PC_DEMOMAN,
	TFC_PC_MEDIC,
	TFC_PC_HWGUY,
	TFC_PC_PYRO,
	TFC_PC_SPY,
	TFC_PC_ENGENEER,
	TFC_PC_CIVILIAN,
};

Functions
client_damage - Function is called after player to player attacks
client_death - Called when a player dies.
get_stats - Gets overall stats.
get_statsnum - Returns number of all entries in stats.
get_user_astats - Gets stats with which a player has been killed/hurt.
get_user_rstats - Gets round stats of player.
get_user_stats - Gets overall stats.
get_user_vstats - Gets stats with which the player has killed/hurt a victim.
get_user_wrstats - Gets round stats from given weapon index.
get_user_wstats - Gets stats from given weapon index.
reset_user_wstats - Resets life, weapon, victims and attackers user stats.
tfc_clearmodel - Resets a model on a TFC player.
tfc_getbammo - Gets ammo in the backpack for a user's weapon.
tfc_getgrenadename - DEPRECATED. Gets the name of a grenade.
tfc_getweaponbammo - Returns the amount of ammo in weapon's clip.
tfc_getwpnlogname - DEPRECATED. Gets the logged name of a weapon.
tfc_getwpnname - DEPRECATED. Gets the name of a weapon.
tfc_isgrenade - Returns 1 if a weapon is a grenade, 0 otherwise.
tfc_ismelee - DEPRECATED. Returns 1 if the weapon is a melee weapon, 0 otherwise.
tfc_setbammo - Sets ammo in the backpack for a user's weapon.
tfc_setmodel - Sets a model on a TFC player.
tfc_setpddata - Sets private data if needed.
tfc_setweaponbammo - Sets the amount of ammo in weapon's clip.
tfc_userkill - Kills a user.