added amb1235, added support for the IServer interface

added a native to retrieve the spray file of a client
added a native to get the net traffic of the server

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401775
This commit is contained in:
Borja Ferrer
2007-12-06 02:25:35 +00:00
parent 04c0684879
commit 9ab9eba5d7
10 changed files with 183 additions and 0 deletions
+20
View File
@@ -264,6 +264,26 @@ native GetTeamClientCount(index);
*/
native SetEntityModel(entity, const String:model[]);
/**
* Retrieves the decal file name associated to a given client.
*
* @param client Player's index.
* @param hex Buffer to store the logo filename.
* @param maxlength Maximum length of string buffer.
* @return True on success, otherwise false.
* @error Invalid client or client not in game.
*/
native bool:GetPlayerDecalFile(client, String:hex[], maxlength);
/**
* Returns the average server network traffic in bytes/sec.
*
* @param in Buffer to store the input traffic velocity.
* @param out Buffer to store the output traffic velocity.
* @noreturn
*/
native GetServerNetStats(&Float:in, &Float:out);
/**
* @deprecated
*/