Listing all the players in a dialog?
#1

How would I make something like /players, and it will open a dialog (MSG_BOX) and list all the players, one name on each line with their ID? I can only figure this out on a command that makes it show in a message, not a dialog. Thanks in advance...
Reply
#2

This topic should help you achieve your goal.
Reply
#3

Do the same with a dialog (think about an admins list, how its looped...) and do the loop for the players that are connected (IsPlayerConnected(i)) or whatever you happen to use.
Reply
#4

Quote:
Originally Posted by TPD
Посмотреть сообщение
Do the same with a dialog (think about an admins list, how its looped...) and do the loop for the players that are connected (IsPlayerConnected(i)) or whatever you happen to use.
but if I looped it like that wouldn't it "ShowPlayerDialog" like as many times as as many people were online
Reply
#5

TAB Key?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)