1.1 --- a/plugins/include/tf2.inc Sun Jun 27 19:17:25 2010 -0400
1.2 +++ b/plugins/include/tf2.inc Mon Jun 28 17:48:14 2010 -0400
1.3 @@ -99,6 +99,13 @@
1.4 TFCond_Jarated
1.5 };
1.6
1.7 +enum TFHoliday
1.8 +{
1.9 + TFHoliday_None = 1,
1.10 + TFHoliday_Halloween,
1.11 + TFHoliday_Birthday
1.12 +};
1.13 +
1.14 /**
1.15 * Sets a client on fire for 10 seconds.
1.16 *
1.17 @@ -225,6 +232,16 @@
1.18 forward Action:TF2_CalcIsAttackCritical(client, weapon, String:weaponname[], &bool:result);
1.19
1.20 /**
1.21 + * Called when the game checks to see if the current day is one of its tracked holidays
1.22 + *
1.23 + * @note Change the value of holiday and return Plugin_Changed to override.
1.24 + * Return Plugin_Continue for no change.
1.25 + *
1.26 + * @param holiday Current Holiday
1.27 + */
1.28 +forward Action:TF2_OnGetHoliday(&TFHoliday:holiday);
1.29 +
1.30 +/**
1.31 * Do not edit below this line!
1.32 */
1.33 public Extension:__ext_tf2 =