Posts: 125
Threads: 30
Joined: Jun 2012
Reputation:
0
Hello,i want to ask is there a way to loop through all players?I mean offline players too.
Posts: 930
Threads: 7
Joined: Jul 2010
Reputation:
0
I highly doubt it, the only possible way I can think of doing it, is if you're saving each user's file to a number instead of their actual name.
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
If you are working with a mysql database it will be very easy since you just have to loop through your table.
In files it'd be a little bit harder (if you want to get info on the player instead of just their names) because you'd have to open each file.
Posts: 930
Threads: 7
Joined: Jul 2010
Reputation:
0
In that case, don't even attempt it.