Forwards8
SymbolDescription
TF2_CalcIsAttackCriticalCalled 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_OnConditionAddedCalled after a condition is added to a player
TF2_OnConditionRemovedCalled after a condition is removed from a player
TF2_OnGetHoliday
TF2_OnIsHolidayActiveCalled 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_OnPlayerTeleportCalled 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_OnWaitingForPlayersEndCalled when the server exits the Waiting for Players round state
TF2_OnWaitingForPlayersStartCalled when the server enters the Waiting for Players round state
Functions15
SymbolDescription
TF2_AddConditionAdds a condition to a player
TF2_DisguisePlayerDisguises a client to the given model and team. Only has an effect on spies. Note: This only starts the disguise process and a delay occurs before the spy is fully disguised
TF2_GetClassFinds the TFClassType for a given class name.
TF2_GetResourceEntity
TF2_IgnitePlayerSets a client on fire.
TF2_IsHolidayActiveReturns whether or not a holiday is active
TF2_IsPlayerInDuelReturns whether or not a client (Player) is in a duel.
TF2_MakeBleedInduces the bleed effect on a client
TF2_RegeneratePlayerRegenerates a client's health and ammunition
TF2_RemoveConditionRemoves a condition from a player
TF2_RemovePlayerDisguiseRemoves the current disguise from a client. Only has an effect on spies.
TF2_RemoveWearableRemoves an econ wearable (hat, misc, etc) from a player. This also deletes the wearable entity.
TF2_RespawnPlayerRespawns a client
TF2_SetPlayerPowerPlayEnables/disables PowerPlay mode on a player.
TF2_StunPlayerStuns a client