1.1 --- a/plugins/include/sdktools_functions.inc Wed Jul 25 08:55:37 2007 +0000
1.2 +++ b/plugins/include/sdktools_functions.inc Wed Jul 25 20:23:34 2007 +0000
1.3 @@ -89,11 +89,22 @@
1.4 *
1.5 * @param client Client index.
1.6 * @noreturn
1.7 - * @error Invalid entity or client not in game, or lack of mod support.
1.8 + * @error Invalid client or client not in game, or lack of mod support.
1.9 */
1.10 native ForcePlayerSuicide(client);
1.11
1.12 /**
1.13 + * Slaps a player in a random direction.
1.14 + *
1.15 + * @param client Client index.
1.16 + * @param health Health to subtract.
1.17 + * @param sound False to disable the sound effects.
1.18 + * @noreturn
1.19 + * @error Invalid client or client not in game, or lack of mod support.
1.20 + */
1.21 +native SlapPlayer(client, health=5, bool:sound=true);
1.22 +
1.23 +/**
1.24 * @deprecated
1.25 */
1.26 stock IgnitePlayer(client, Float:time, bool:npc=false, Float:size=0.0, bool:level=false)