View Single Post
joac1144
Senior Member
Join Date: Dec 2012
Location: Copenhagen, Denmark
Old 02-09-2014 , 04:52   Re: [Any] Round Messages
Reply With Quote #11

Quote:
Originally Posted by ddhoward View Post
You cannot make morecolors optional like that. Even with the cvar to use/not use it, there are still morecolors functions in your code. The compiler will refuse to compile the plugin if morecolors.inc is not present in the includes folder.

Further, an option to use PrintToChatAll vs CPrintToChatAll is made even more pointless when you realize that the server does not need morecolors.inc to run the plugin. Include files like that are only needed by THE COMPILER. Once it's compiled, the include is done. Any server with a reasonably up-to-date version of Sourcemod can run that smx without needing anything extra.

I recommend that you remove the cvar, and always use CPrintToChatAll.
Done. I hope I did it right.
__________________
joac1144 is offline