Cookie.SetByAuthId Method

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

void SetByAuthId(const char[] authID, const char[] value)

Parameters

const char[] authID

String Auth/STEAM ID of player to set.

const char[] value

String value to set.

Errors

Invalid cookie handle.