colour older changelogs black
This commit is contained in:
parent
750fab8abb
commit
cb853c1be5
@ -40,7 +40,11 @@ CMD:updates( playerid, params[ ] )
|
|||||||
strreplace( szNormalString, "\n", "" ), trimString( szNormalString );
|
strreplace( szNormalString, "\n", "" ), trimString( szNormalString );
|
||||||
|
|
||||||
// format string
|
// 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 ++;
|
changelogs ++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user