List of functions in tsfun.inc

Function Description
Melee_Attack
Function is called just before a kung foo attack is done,
damage and time length may be altered with natives.
Return PLUGIN_HANDLED to stop attack.
UNAVAILABLE IN 1.70
client_stunt
This function has no description.
client_powerup
Function is called when powerups are ran,
Returns value of powerup. Use TSPWUP_*'s
to find exactly which one it is.
UNAVAILABLE IN 1.70
ts_wpnlogtoname
weapon logname to weapon name convertion
ts_wpnlogtoid
weapon logname to weapon index convertion
ts_getusercash
This function has no description.
ts_setusercash
This function has no description.
ts_getuserslots
This function has no description.
ts_setuserslots
This function has no description.
ts_getuserstate
This function has no description.
ts_getuserwpn
This function has no description.
ts_getuserspace
This function has no description.
ts_getuserkillflags
This function has no description.
ts_getkillingstreak
This function has no description.
ts_getuserlastfrag
This function has no description.
ts_giveweapon
This function has no description.
ts_getuserpwup
This function has no description.
ts_has_slowmo
This function has no description.
ts_has_infammo
This function has no description.
ts_has_slowpause
This function has no description.
ts_has_dfirerate
This function has no description.
ts_has_grenade
This function has no description.
ts_has_health
This function has no description.
ts_has_armor
This function has no description.
ts_createpwup
Function will create pwup entity and return its index (pwupent)
ts_givepwup
This function has no description.
ts_setpddata
This function has no description.
ts_set_message
This function has no description.
ts_get_message
This function has no description.
ts_is_normal
This function has no description.
ts_is_waiting
This function has no description.
ts_is_dead
This function has no description.
ts_is_killer
This function has no description.
ts_is_demolition
This function has no description.
ts_is_specialist
This function has no description.
ts_is_unstoppable
This function has no description.
ts_is_theone
This function has no description.
ts_has_superjump
This function has no description.
ts_has_fupowerup
This function has no description.
ts_is_in_slowmo
This function has no description.
ts_set_bullettrail
This function has no description.
ts_set_fakeslowmo
This function has no description.
ts_set_fakeslowpause
This function has no description.
ts_set_speed
Sets speed artificially. 1.0 is default, Go into fractions and decimals for slower
and put in higher numbers for higher speeds. Aura is how far things around you are effected
Time is the time until it wears off. 0.0 for speed will freeze people. Do not use negatives.
ts_set_physics_speed
Sets physics speed artificially. Things like sparks and sounds will be effected.
Any negative number will render all physics paused.
ts_is_running_powerup
This function has no description.
ts_force_run_powerup
This function has no description.