Quote:
Originally Posted by wups
Great tutorial, however i have one small problem with the text colors:
If i use this format:
pawn Code:
#define SOME_NUMBER 20 SendClientMessage(playerid,COLOR," Something text something costs:"#SOME_NUMBER"$");
Then everything continues to have a quote color. Any ideas how to fix this?
|
Its because everything everything after # is considered as a part of a define statement. I noticed this early, but wasnt aware of a method to fix it.
syntax highlighter uses regex for matching, which is located in Pawn.tmLanguage file. If anyone manages to fix it, I'll update the download links.