Quote:
Originally Posted by Ellie
Been using this is some plugins (though I had to edit all their sources) and seems to be working great. Many thanks.  Quick question though about this:
What do I need to change so that the unavailable color is replaced with orange instead of green?
|
You can use
smlib_colors.games.txt.
Just put the it into your gamedata folder and put something like the following into the #default section:
Code:
"red_alternative" "1" // 1 = orange in the color table (See: https://github.com/bcserv/smlib/blob/master/scripting/include/smlib/colors.inc#L78)
This should work.
Quote:
Originally Posted by Ellie
Also, about these two:
Code:
PrintToChatAll( "%s", message );
PrintToChat(param1, "blah");
I can't get them to work. I get an argument type mismatch. How can I fix that?
|
Don't know, at first, those functions are not from smlib.
And you have to post more code so I can see how the used variables are defined.
But looks like either message is not a string or param1 not an integer cell.
__________________