added amb416 - SlapPlayer()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401175
This commit is contained in:
David Anderson
2007-07-25 20:23:34 +00:00
parent c36a203276
commit 78d054e077
9 changed files with 440 additions and 2 deletions
+12 -1
View File
@@ -89,10 +89,21 @@ native TeleportEntity(entity, const Float:origin[3], const Float:angles[3], cons
*
* @param client Client index.
* @noreturn
* @error Invalid entity or client not in game, or lack of mod support.
* @error Invalid client or client not in game, or lack of mod support.
*/
native ForcePlayerSuicide(client);
/**
* Slaps a player in a random direction.
*
* @param client Client index.
* @param health Health to subtract.
* @param sound False to disable the sound effects.
* @noreturn
* @error Invalid client or client not in game, or lack of mod support.
*/
native SlapPlayer(client, health=5, bool:sound=true);
/**
* @deprecated
*/