Help with top5
#1

I want to make a top5 command using dini user files, I have the top5, but to know the money of the files, I need to loop through player names, not ids (dini_int(playername, "money")
I wonder if there is a stock or something..

Thanks
Reply
#2

It would be nearly impossible, unless you kept a separate file with the names of all the players that registered.

Or better yet, a file with all of the top 5 money people! Then just see which is highest, in order from greatest to least, and go from there.

This forum requires that you wait 120 seconds between posts. Please try again in 25 seconds.
Reply
#3

Yeah, like I told you before; the only proper way of doing this with Dini is to create a file that contains the top5 people and what they have. You can update the values every time someone logs out to make sure it's always up-to-date.
Reply
#4

Yep, I'll do it like that.. thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)