plugins/include/tf2.inc
changeset 3233 21dbe3d3f620
parent 3215 0589e6827a07
child 3269 2139ba334ae0
     1.1 --- a/plugins/include/tf2.inc	Sat Apr 09 00:29:57 2011 -0400
     1.2 +++ b/plugins/include/tf2.inc	Sat Apr 09 00:33:55 2011 -0400
     1.3 @@ -284,6 +284,29 @@
     1.4  native bool:TF2_IsPlayerInDuel(client);
     1.5  
     1.6  /**
     1.7 + * Called after a condition is added to a player
     1.8 + *
     1.9 + * @note Actual duration can differ based on various events ingame.
    1.10 + *
    1.11 + * @param client		Index of the client to which the conditon is being added.
    1.12 + * @param condition     Condition that is being added.
    1.13 + * @param duration      Initial duration of the condition or -1 for infinite.
    1.14 + * @noreturn
    1.15 + */
    1.16 +forward TF2_OnConditionAdded(client, TFCond:condition, Float:duration);
    1.17 +
    1.18 +/**
    1.19 + * Called after a condition is removed from a player
    1.20 + *
    1.21 + * @note This will never be called for the removal of TFCond_Taunting.
    1.22 + *
    1.23 + * @param client		Index of the client to which the condition is being removed.
    1.24 + * @param condition		Condition that is being removed.
    1.25 + * @noreturn
    1.26 + */
    1.27 +forward TF2_OnConditionRemoved(client, TFCond:condition);
    1.28 +
    1.29 +/**
    1.30   * Called when the server enters the Waiting for Players round state
    1.31   *
    1.32   * @noreturn