Added SetUserInfo command to sdktools.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402247
This commit is contained in:
Matt Woodrow
2008-06-09 07:12:32 +00:00
parent 9ac54e5fb2
commit 22aa6561b5
4 changed files with 133 additions and 0 deletions
+12
View File
@@ -308,3 +308,15 @@ native EquipPlayerWeapon(client, weapon);
* @error Invalid entity or lack of mod support.
*/
native ActivateEntity(entity);
/**
* Sets values to client info buffer keys and notifies the engine of the change.
* The change does not get propogated to mods until the next frame.
*
* @param client Player's index.
* @param key Key string.
* @param value Value string.
* @noreturn
* @error Invalid client index, or client not connected.
*/
native SetClientInfo(client, const String:key[], const String:value[]);