Posts: 38
Threads: 8
Joined: Apr 2012
Reputation:
0
Guys I am working on my admin system and i am stuck in the middle of /admins command . when more than 4 admins are there the line comes blank and i want like if there are more than 3 admins there should be a new line like
Admins:Torus[OWNER],ZIPPER[OWNER],KILLER[Admin]
Admins:Micheal[OWNER]
Can Some One Tell me how to make like that i am going crazy to make the command like that?
+ 1 REP
Posts: 1,753
Threads: 277
Joined: Sep 2010
Reputation:
0
Well, I can help you to make the command like this:
I did the command /admins:
Admins online:
Name1[OWNER]
Name2[OWNER]
Name3[ADMIN]
Name4[OWNER]
I could make it like that for you, if you want?
Posts: 38
Threads: 8
Joined: Apr 2012
Reputation:
0
No no i just want like
Admins: admin name 1 [admin level ] admin name 2 [adminlevel] admin name3 [adminlevel]
and if more than 3
then
Admins: admin name 1 [admin level ] admin name 2 [adminlevel] admin name3 [adminlevel]
Admins: admin name 4 [admin level]
Posts: 38
Threads: 8
Joined: Apr 2012
Reputation:
0
not in dialogs i want in sendclientmessage
Posts: 38
Threads: 8
Joined: Apr 2012
Reputation:
0
Guys hmm can u help me please?
Posts: 250
Threads: 14
Joined: Sep 2008
Reputation:
0
There is a limit for the length of a SendClientMessage string. Do a loop through all the admins and a SendClientMessage for each admin.
Alternatively, a message dialog as mentioned above.
Posts: 494
Threads: 9
Joined: Feb 2012
Reputation:
0
To be honest the dialog box makes the server look a lot more professional rather than SendClientMessage.