Help with dialog list
#1

Is there any easy way to make the prices look nicely like a column?

Reply
#2

No. Just do it like Teargas - $800
Reply
#3

Quote:
Originally Posted by Runn3R
Посмотреть сообщение
No. Just do it like Teargas - $800
Nah, you may like it but I don't. That thing already came up to my mind but I didn't like the way it looks.
Reply
#4

Yep there is
use '\t' for tabulating the data
example-
Quote:

new string[] ="TearGas\t\t$800\nSprayCan\t\t$800\n9mm Pistol\t\t$1000";

The output would be clean
Reply
#5

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
Yep there is
use '\t' for tabulating the data
example-

The output would be clean
I used that on ShowPlayerDialog and here are my results.
Shall I make it like you told me?
Reply
#6

use three '\t' between gunname and gun price
Use it three '\t' between every gunname and its price not just some...
Reply
#7

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
use three '\t' between gunname and gun price
Use it three '\t' between every gunname and its price not just some...
I used two but now it's fixed, thanks a lot. Plus you received 1 reputation from me.

Edit 2:
Can I add more than three '/t'?
Reply
#8

Yes you can
more '\t' = more space
Reply
#9

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
Yes you can
more '\t' = more space
So if I am not wrong '/t' stands for a big space like when you press TAB in pawn.
Reply
#10

Tabulated space* actually
look in ****** for understanding it..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)