1.1 --- a/plugins/include/tf2.inc Fri Oct 29 20:04:50 2010 -0500
1.2 +++ b/plugins/include/tf2.inc Sun Nov 07 19:05:32 2010 -0500
1.3 @@ -273,6 +273,14 @@
1.4 forward Action:TF2_OnGetHoliday(&TFHoliday:holiday);
1.5
1.6 /**
1.7 + * Returns whether or not a client (Player) is in a duel.
1.8 + *
1.9 + * @param client Client Index.
1.10 + * @return Boolean of whether or not the client/player is dueling.
1.11 + */
1.12 +native bool:TF2_IsPlayerInDuel(client);
1.13 +
1.14 +/**
1.15 * Do not edit below this line!
1.16 */
1.17 public Extension:__ext_tf2 =
1.18 @@ -302,5 +310,6 @@
1.19 MarkNativeAsOptional("TF2_MakeBleed");
1.20 MarkNativeAsOptional("TF2_GetResourceEntity");
1.21 MarkNativeAsOptional("TF2_GetClass");
1.22 + MarkNativeAsOptional("TF2_IsPlayerInDuel");
1.23 }
1.24 #endif