Quote:
Originally Posted by T-z3P
I know Connor's stock . I've tried this and it's not working (spaces appear in front of the 'last' word and after ':' and there is no color in the message) :
PHP Code:
n += formatex(LastMaps[n], 255-n, "^x04Last maps played are :^x03")
PS : I don't really know how to use the stock here .
|
Sometimes, color codes can be broken with text that is following the end of it because it is combined to the color code so it turns into something other than a color code.
To fix this, you can insert it as a character by formatting instead of including it in the string.
Example:
Code:
formatex(string, charsmax(string), "%cThis is green%c and this is normal.", '^x04', '^x03');
__________________