plugins/include/tf2.inc
changeset 3096 edd61d1e1e26
parent 3093 0d28a05141b3
child 3110 cb89207d1508
     1.1 --- a/plugins/include/tf2.inc	Mon Jul 26 08:23:49 2010 -0400
     1.2 +++ b/plugins/include/tf2.inc	Mon Jul 26 11:06:08 2010 -0400
     1.3 @@ -218,6 +218,16 @@
     1.4  native TF2_StunPlayer(client, Float:duration, Float:slowdown=0.0, stunflags, attacker=0);
     1.5  
     1.6  /**
     1.7 + * Induces the bleed effect on a client
     1.8 + *
     1.9 + * @param client		Player's index.
    1.10 + * @param victim		Victim's index.
    1.11 + * @param float			Duration of bleeding (in seconds).
    1.12 + * @noreturn
    1.13 + */
    1.14 +native TF2_MakeBleed(client, victim, Float:duration);
    1.15 +
    1.16 +/**
    1.17   * Retrieves the entity index of the CPlayerResource entity
    1.18   *
    1.19   * @return				The current resource entity index.
    1.20 @@ -286,6 +296,7 @@
    1.21  	MarkNativeAsOptional("TF2_DisguisePlayer");
    1.22  	MarkNativeAsOptional("TF2_RemovePlayerDisguise");
    1.23  	MarkNativeAsOptional("TF2_StunPlayer");
    1.24 +	MakeNativeAsOptional("TF2_MakeBleed");
    1.25  	MarkNativeAsOptional("TF2_GetResourceEntity");
    1.26  	MarkNativeAsOptional("TF2_GetClass");
    1.27  }