snprintf(atcmd_output, CHAT_SIZE_MAX,"Price: %u | Amount: %d | Map: %s (%d,%d) | Shop: %s <how to show the next data in newline?> +%d %d[%d][%d][%d][%d]",pl_sd->vending[j].value
,pl_sd->vending[j].amount
,map->list[pl_sd->bl.m].name
,pl_sd->bl.x,pl_sd->bl.y
,pl_sd->message
,pl_sd->status.cart[pl_sd->vending[j].index].refine
,pl_sd->status.cart[pl_sd->vending[j].index].nameid
,pl_sd->status.cart[pl_sd->vending[j].index].card[0],pl_sd->status.cart[pl_sd->vending[j].index].card[1],pl_sd->status.cart[pl_sd->vending[j].index].card[2],pl_sd->status.cart[pl_sd->vending[j].index].card[3]);
I tried to put \n but it keeps displaying in same line.
I tried to put \n but it keeps displaying in same line.
Share this post
Link to post
Share on other sites