Thread
:
[Any] Round Messages
View Single Post
joac1144
Senior Member
Join Date: Dec 2012
Location: Copenhagen, Denmark
02-09-2014 , 04:52 Re: [Any] Round Messages
#
11
Quote:
Originally Posted by
ddhoward
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.
__________________
Check out my plugins
Steam profile 1
Steam profile 2
joac1144
View Public Profile
Send a private message to joac1144
Find More Posts by joac1144