Simple way to make tabling easier in dialogs?
#1

So if you read the title, then you know what i talk about.

I know that you can use '\t', But if the string length is higher then 8, it will look terrible.
So what is a simple and nice methode do make this sort 'tables' (Like the HTML way).
Reply
#2

I have try it, and it works great. Thanks.

The way i tested it:
pawn Code:
printf("%11s %24s", "ID", "Vehicle");
printf("%11s %24s", "0", "Taxi");
printf("%11s %24s", "200", "NRG-500");
printf("%11s %24s", "13", "Hunter");
Will shows:
Code:
[18:58:55] ID          Vehicle                 
[18:58:55] 0           Taxi                    
[18:58:55] 200         NRG-500                 
[18:58:55] 13          Hunter
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)