Enums 6

Forwards 8

Function Description
TF2_CalcIsAttackCritical

Called on weapon fire to decide if the current shot should be critical. Return Plugin_Continue to let the original calculation or return a higher action to override the decision with the value of 'result'

TF2_OnConditionAdded

Called after a condition is added to a player

TF2_OnConditionRemoved

Called after a condition is removed from a player

TF2_OnGetHoliday

TF2_OnIsHolidayActive

Called at various times when the game checks to see if the given holiday is active. Return Plugin_Continue to let the original calculation or return a higher action to override the decision with the value of 'result'

TF2_OnPlayerTeleport

Called when a player attempts to use a teleporter to decide if the player should be allowed to teleport. Return Plugin_Continue to let the original calculation or return a higher action to override the decision with the value of 'result'

TF2_OnWaitingForPlayersEnd

Called when the server exits the Waiting for Players round state

TF2_OnWaitingForPlayersStart

Called when the server enters the Waiting for Players round state

Functions 16

Function Description
TF2_AddCondition

Adds a condition to a player

TF2_DisguisePlayer

Disguises a client to the given model and team. Only has an effect on spies.

TF2_GetClass

Finds the TFClassType for a given class name.

TF2_GetResourceEntity

TF2_IgnitePlayer

Sets a client on fire for 10 seconds.

TF2_IsHolidayActive

Returns whether or not a holiday is active

TF2_IsPlayerInDuel

Returns whether or not a client (Player) is in a duel.

TF2_MakeBleed

Induces the bleed effect on a client

TF2_RegeneratePlayer

Regenerates a client's health and ammunition

TF2_RemoveCondition

Removes a condition from a player

TF2_RemovePlayerDisguise

Removes the current disguise from a client. Only has an effect on spies.

TF2_RemoveWearable

Removes an econ wearable (hat, misc, etc) from a player. This also deletes the wearable entity.

TF2_RespawnPlayer

Respawns a client

TF2_SetPlayerPowerPlay

Enables/disables PowerPlay mode on a player.

TF2_StunPlayer

Stuns a client

__ext_tf2_SetNTVOptional