Center text from SendToAll
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Center text from SendToAll

Started by kepp, 31 October, 2003, 23:51:47

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kepp

is it possible to center the text you write in
SendToAll("text")
to the middle in main?

If so, how? :)
Thanks
Guarding    

Optimus

well what you can do is use TABS looks like this: \t
you can use as many as you like... 1 2 3 \t\t\t

Example:

---
SendToAll("text")
---

Will be

---
SendToAll("\t text")
---

kepp

#2
is it something im doing wrong?

SendToAll(\t\t\t\t\t\t\t "_-*_-*_-*_-*_-["..frmHub:GetHubName().."]-_*-_*-_*-_*-_")

Output:
[01:37] _-*_-*_-*_-*_-[klsdfjsgmdflgm]-_*-_*-_*-_*-_

With tabs before "text" i'll get it like this:

[01:39]
 _-*_-*_-*_-*_-[klsdfjsgmdflgm]-_*-_*-_*-_*-_
Guarding    

Optimus

SendToAll("\t\t\t\t\t\t\t _-*_-*_-*_-*_-["..frmHub:GetHubName().."]-_*-_*-_*-_*-_")

try that 1^^ ;)

kepp

#4
Thank you :)
Stupid misstake by me,
reason why it ended up on another line was because i used to Many \t
Tabs
Guarding    

Optimus


SMF spam blocked by CleanTalk