1.1 --- a/plugins/include/tf2.inc Wed Jul 31 22:57:50 2013 -0400
1.2 +++ b/plugins/include/tf2.inc Thu Aug 01 09:26:34 2013 -0400
1.3 @@ -35,13 +35,13 @@
1.4 #endif
1.5 #define _tf2_included
1.6
1.7 -#define TF_STUNFLAG_SLOWDOWN (1 << 0) // activates slowdown modifier
1.8 -#define TF_STUNFLAG_BONKSTUCK (1 << 1) // bonk sound, stuck
1.9 -#define TF_STUNFLAG_LIMITMOVEMENT (1 << 2) // disable forward/backward movement
1.10 -#define TF_STUNFLAG_CHEERSOUND (1 << 3) // cheering sound
1.11 -#define TF_STUNFLAG_NOSOUNDOREFFECT (1 << 5) // no sound or particle
1.12 -#define TF_STUNFLAG_THIRDPERSON (1 << 6) // panic animation
1.13 -#define TF_STUNFLAG_GHOSTEFFECT (1 << 7) // ghost particles
1.14 +#define TF_STUNFLAG_SLOWDOWN (1 << 0) /**< activates slowdown modifier */
1.15 +#define TF_STUNFLAG_BONKSTUCK (1 << 1) /**< bonk sound, stuck */
1.16 +#define TF_STUNFLAG_LIMITMOVEMENT (1 << 2) /**< disable forward/backward movement */
1.17 +#define TF_STUNFLAG_CHEERSOUND (1 << 3) /**< cheering sound */
1.18 +#define TF_STUNFLAG_NOSOUNDOREFFECT (1 << 5) /**< no sound or particle */
1.19 +#define TF_STUNFLAG_THIRDPERSON (1 << 6) /**< panic animation */
1.20 +#define TF_STUNFLAG_GHOSTEFFECT (1 << 7) /**< ghost particles */
1.21
1.22 #define TF_STUNFLAGS_LOSERSTATE TF_STUNFLAG_SLOWDOWN|TF_STUNFLAG_NOSOUNDOREFFECT|TF_STUNFLAG_THIRDPERSON
1.23 #define TF_STUNFLAGS_GHOSTSCARE TF_STUNFLAG_GHOSTEFFECT|TF_STUNFLAG_THIRDPERSON
1.24 @@ -173,10 +173,11 @@
1.25 * Sets a client on fire for 10 seconds.
1.26 *
1.27 * @param client Player's index.
1.28 + * @param attacker Attacker's index.
1.29 * @noreturn
1.30 * @error Invalid client index, client not in game, or no mod support.
1.31 */
1.32 -native TF2_IgnitePlayer(client, target);
1.33 +native TF2_IgnitePlayer(client, attacker);
1.34
1.35 /**
1.36 * Respawns a client
1.37 @@ -255,10 +256,10 @@
1.38 * Stuns a client
1.39 *
1.40 * @param client Player's index.
1.41 - * @param float Duration of stun.
1.42 - * @param float Slowdown percent (as decimal, 0.00-1.00)
1.43 - * (ignored if TF_STUNFLAG_SLOWDOWN is not set.
1.44 - * @param int Stun flags.
1.45 + * @param duration Duration of stun.
1.46 + * @param slowdown Slowdown percent (as decimal, 0.00-1.00)
1.47 + * Ignored if TF_STUNFLAG_SLOWDOWN is not set.
1.48 + * @param stunflags Stun flags.
1.49 * @param attacker Attacker's index (0 is allowed for world).
1.50 * @noreturn
1.51 */
1.52 @@ -269,7 +270,7 @@
1.53 *
1.54 * @param client Player's index.
1.55 * @param attacker Attacker's index.
1.56 - * @param float Duration of bleeding (in seconds).
1.57 + * @param duration Duration of bleeding (in seconds).
1.58 * @noreturn
1.59 */
1.60 native TF2_MakeBleed(client, attacker, Float:duration);