Hello,
My server just crashes when I use a prefix via a variable.
Example code:
PHP Code:
String:cmenuPrefix[] = "[{blue}WardenMenu{default}]";
CPrintToChatAll("%s %t", cmenuPrefix, "Noblock off");
SetConVarInt(noblock, 1, true, true);
If I do just like this then it doesn't crash and works like normal:
PHP Code:
CPrintToChatAll("%t", "Noblock off");
SetConVarInt(noblock, 1, true, true);
Does anyone know why it just crashes? It crashes on every method where I have a print a message with the prefix. I'm using colors.inc for the colors.
__________________