Added native to clientprefs to alter data on a disconnected player (bug 3882, r=pred).

This commit is contained in:
Don
2011-10-14 11:28:53 -04:00
parent 95fdeb03c3
commit 00f152910b
4 changed files with 97 additions and 0 deletions
+11
View File
@@ -131,6 +131,17 @@ native SetClientCookie(client, Handle:cookie, const String:value[]);
*/
native GetClientCookie(client, Handle:cookie, String:buffer[], maxlen);
/**
* Sets the value of a Client preference cookie based on an authID string.
*
* @param authID String Auth/STEAM ID of player to set.
* @param cookie Client preference cookie handle.
* @param value String value to set.
* @noreturn
* @error Invalid cookie handle.
*/
native SetAuthIdCookie(const String:authID[], Handle:cookie, const String:value[]);
/**
* Checks if a clients cookies have been loaded from the database.
*