to
desynced which errors did you get ??
try to comment out the
#define USECOLORS maybe you don't have colors.inc in your inc files list.
to
Antithasys :
Quote:
Originally Posted by Antithasys
The hardcoded array used to display the rules is very odd indeed. While it is necessary to know the name of the translation file, using a scheme would appear appropriate here, and it looks like you already made one.
|
ermmm sorry m8, but i don't know yet how to use KV file
with translations
, but i'm working "hard" to learn it
.
Quote:
Originally Posted by Antithasys
"RuleX" can be used. This would make the rule count almost unlimited. Since the phrases file is just a KV file, the number of sections could easily be read into a global variable and all you to append the "RuleX" string to continually get the next rule in a loop. Or something, this is just off the top of my head.
|
When i solved first point i'll try to do it like you proposed , the point is, the same file is used to "auto scroll" rules and when !rules (sm_rules) is asked by a player !!