• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Organize Information Window possible?

Markey

Ashandra War Scripter
Joined
Feb 7, 2008
Messages
114
Reaction score
1
Location
Austria
Hi!
I made a talkaction which will show you some informations on a info window (function doPlayerPopupFYI).
But it's really anoing that you have to tab it with spaces, and tabs are shown as some strange sings...
So, is there a possibility to organize this text ?

Example:

Code:
Info:           123|456
AnotherInfo:    456|789

Yours,
Markey
 
I believe /n would make a new row. Like this:
Code:
doPlayerPopupFYI(cid,'Hello world./n Hello again world')
 
hmm yes but my problem is that for example an "T" is about 2.5x bigger than a "l", but with a space you can't make 0.5 space... so it looks something like this:

Code:
Info:         123|456
AnotherInfo:   123|456
Something:   123|456
...

you know what I want to say?
 
Try \t which is often a tab character, and Empty it's \n (unless /n works aswell).
 
hmm, nice try, but this will give me some strange sign (some square). I guess the tibia client doesn't know the tabulator sign...
 
try this
Code:
doPlayerPopupFYI(cid,[[
Info:		123|456
AnotherInfo:	123|456
Something:	123|456
]])


[[ ]] is much like <pre> tag in HTML, dunno if it works with tabs tho...
 
Back
Top