Hi, one a question.
How do I edit the variables?
Hi, one a question.
How do I edit the variables?
for example, to translate the variable %s
Not sure what you're asking. If you're looking to print a different variable, like this...
ch_printf( ch, "My name is %s", ch->name );
to a level:
ch_printf( ch, "My level is %s", ch->level );
switch ( channel )
{
default:
set_char_color( AT_GOSSIP, ch );
ch_printf( ch, "%s '%s'\r\n", verb, argument );
snprintf( buf, MAX_STRING_LENGTH, "$n %ss '$t'", verb );
break;
case CHANNEL_RACETALK:
set_char_color( AT_RACETALK, ch );
ch_printf( ch, "%s '%s'\r\n", verb, argument );
snprintf( buf, MAX_STRING_LENGTH, "$n %ss '$t'", verb );
break;
How to translate this?
Are you trying to translate it from English?