Re: [NEWBIE] SCORE!

From: Del (caminturn@earthlink.net)
Date: 05/06/99


Shaun Bourque wrote:
>
> sprintf(buf, "%s: You are a %d year old %s %s %s. Your level is %d.",
>  GET_NAME(ch), GET_AGE(ch), gender[GET_SEX(ch)], pc_race_types[GET_RACE(ch)],
> pc_class_types[GET_CLASS(ch)],  GET_LEVEL(ch));
> send_to_char(buf, ch);
>

GET_LEVEL(ch) is a number => the %s means string
change the %s to a %d

The other things, I'm not sure of, but you might want to check what the output
is
gender[GET_SEX(ch)].....


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST