From cb853c1be57ddc4ae7d6b2083d7c7959a942e808 Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Sun, 3 Feb 2019 21:25:56 +1100 Subject: [PATCH] colour older changelogs black --- gamemodes/irresistible/cnr/changelog.pwn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gamemodes/irresistible/cnr/changelog.pwn b/gamemodes/irresistible/cnr/changelog.pwn index 766e988..c9dddf5 100644 --- a/gamemodes/irresistible/cnr/changelog.pwn +++ b/gamemodes/irresistible/cnr/changelog.pwn @@ -40,7 +40,11 @@ CMD:updates( playerid, params[ ] ) strreplace( szNormalString, "\n", "" ), trimString( szNormalString ); // format string - format( szHugeString, sizeof( szHugeString ), "%s%s\t%s\n", szHugeString, szNormalString, ! changelogs ? ( COL_GREEN # "CURRENT" ) : ( " " ) ); + if ( ! changelogs ) { + format( szHugeString, sizeof( szHugeString ), "%s%s\t"COL_GREEN"LATEST\n", szHugeString, szNormalString ); + } else { + format( szHugeString, sizeof( szHugeString ), "%s{333333}%s\t \n", szHugeString, szNormalString ); + } changelogs ++; }