SetAuthIdCookie Function

Sets the value of a Client preference cookie based on an authID string.

void SetAuthIdCookie(const char[] authID, Handle cookie, const char[] value)

Parameters

const char[] authID

String Auth/STEAM ID of player to set.

Handle cookie

Client preference cookie handle.

const char[] value

String value to set.

Errors

Invalid cookie handle.