Posts: 69
Threads: 18
Joined: Mar 2009
Reputation:
0
Hey I was wondering how you would make a dialog to show all the online players names, I was wanting to use it for my banking system and maybe for /give. Instead of typing in a player name or id just select it from the list in a dialog. I know it is possible I have seen it done before. Thanks for any replies.
Posts: 45
Threads: 3
Joined: Jun 2009
Posts: 69
Threads: 18
Joined: Mar 2009
Reputation:
0
Well...not quite. I want you to be able to do a command at the bank and pull up all the names in a dialog list similar to the scoreboard menu, without using the scoreboard...if that makes sense.
Posts: 297
Threads: 47
Joined: Jun 2008
Reputation:
0
it makes sence allright , you are asking an interesting question as well.
The basics would be a for loop and within a format(string,sizeof(string),"%s\n",PlayerName(i)) ;
but I'm not wake enough atm to think even furder, don't even know if I could do it.
Let's ask for some more experienced help with this post?
Other scripters please respond / help.
PS: I'll be back
Posts: 69
Threads: 18
Joined: Mar 2009
Reputation:
0
Ok, thank you. Any help would be appretiated. I think I have a friend that knows. I'll ask him about it.