plugins/include/sdktools_functions.inc
changeset 2107 5e6c815d7ed9
parent 2007 60b6294afa7f
child 2289 44045ead61cd
     1.1 --- a/plugins/include/sdktools_functions.inc	Fri Jun 06 04:55:27 2008 +0000
     1.2 +++ b/plugins/include/sdktools_functions.inc	Mon Jun 09 07:12:32 2008 +0000
     1.3 @@ -308,3 +308,15 @@
     1.4   * @error				Invalid entity or lack of mod support.
     1.5   */
     1.6  native ActivateEntity(entity);
     1.7 +
     1.8 +/**
     1.9 + * Sets values to client info buffer keys and notifies the engine of the change.
    1.10 + * The change does not get propogated to mods until the next frame.
    1.11 + *
    1.12 + * @param client		Player's index.
    1.13 + * @param key			Key string.
    1.14 + * @param value			Value string.
    1.15 + * @noreturn
    1.16 + * @error				Invalid client index, or client not connected.
    1.17 + */
    1.18 +native SetClientInfo(client, const String:key[], const String:value[]);