ays297 Posted June 11, 2013 Posted June 11, 2013 (edited) I just wanna now how can I add a character variable in the some @commands like @who. like: switch (display_type) { case 2: { StrBuf->Printf(&buf, msg_txt(343), pl_sd->status.name); // "Name: %s " if (pc_get_group_id(pl_sd) > 0) // Player title, if exists StrBuf->Printf(&buf, msg_txt(344), pc_group_id2name(pc_get_group_id(pl_sd))); // "(%s) " StrBuf->Printf(&buf, msg_txt(347), pl_sd->status.base_level, pl_sd->status.job_level, job_name(pl_sd->status.class_)); // "| Lv:%d/%d | Job: %s" break; Edited June 11, 2013 by ays297 Quote
Emistry Posted June 11, 2013 Posted June 11, 2013 what mean ?? what character variable in these command? Quote
ays297 Posted June 11, 2013 Author Posted June 11, 2013 (edited) EDIT: NVM, I found out how to do it. Thanks emistry. Edited June 11, 2013 by ays297 Quote
Question
ays297
I just wanna now how can I add a character variable in the some @commands like @who.
like:
Edited by ays2972 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.