Quote:
Originally Posted by Js41637
You can't compile the plugin because it requires morecolors.
I think you can use #tryinclude or something instead of #include so that it isn't required but optional.
Also, is there even any color tags in the code? You have;
PHP Code:
if (GetConVarInt(eventmsg_morecolors_enabled) == 1) { new String:msg[128]; GetConVarString(eventmsg_endmessage, msg, sizeof(msg)); CPrintToChatAll("%s", msg); } else { new String:msg[128]; GetConVarString(eventmsg_endmessage, msg, sizeof(msg)); PrintToChatAll("%s", msg); }
Which is just switching between PrintToChatAll and CPrintToChatAll however you have included no color tags. Something like this is maybe what you want?
PHP Code:
CPrintToChatAll("{green}%s", msg);
|
If you want to use colors in the messages, you can do it in the CFG file (cfg/sourcemod/) that is autogenerated after first time the plugin is loaded.
Eg: eventmsg_startmessage "{lightgreen}The round is about to {green}start"
__________________