- initial import of the first admin plugin (woot! it has one command!)

- added ShowActivity() native
- added lang.inc to sourcemod.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40916
This commit is contained in:
David Anderson
2007-06-07 06:17:57 +00:00
parent a2dff5f7d0
commit 092c4e88e9
5 changed files with 187 additions and 1 deletions
+13 -1
View File
@@ -165,7 +165,19 @@ native PrintToConsole(client, const String:format[], any:...);
* @noreturn
* @error If the client is not connected or invalid.
*/
native ReplyToCommand(client, const String:fornmat[], any:...);
native ReplyToCommand(client, const String:format[], any:...);
/**
* Displays usage of an admin command to users depending on the
* setting of the sm_show_activity cvar.
*
* @param client Client index doing the action, or 0 for server.
* @param format Formatting rules.
* @param ... Variable number of format parameters.
* @noreturn
* @error
*/
native ShowActivity(client, const String:format[], any:...);
/**
* Called when a server-only command is invoked.
+1
View File
@@ -46,6 +46,7 @@ struct Plugin
#include <bitbuffer>
#include <usermessages>
#include <menus>
#include <lang>
#include <halflife>
/**