Code:
hcvar_destination = CreateConVar("sm_namechangeinfo_destination", "1", "(1/2/3) Where should the information be printed to? 0 = disabled, 1 = Console, 2 = Chat and Console", FCVAR_PLUGIN);
You mean (0/1/2) *
But It would be easy for you to do a 0/1/2/3 mod. Using bit operation '&' rather than '==' (and you already checking both; you could use else if; if you don't want to use '&' that is). That way someone could print to chat directly (which I'm surprise you aren't offering; you plugin says 'any' and I believe not all game display name change in chat or not)
__________________