Posts: 596
Threads: 75
Joined: Nov 2015
Will i be able to make /top command using y_ini? i mean that the script will scan the database/files for top 10 highest scores.If it enables to do that please tell me how
Posts: 803
Threads: 138
Joined: Jul 2014
Reputation:
0
Yes you will be able, but its going to be a bit harder.
You can simply have a timer running that will check top 5 players online and save it, then later the timer will check if current top is lower/higher than the new one etc.
But I stongly suggest SQL, it can be done with few lines.
Posts: 1,506
Threads: 13
Joined: Jun 2015
you can get the score from the save files and you can make a /top10 command using Y_ini or even a temporary ban system using Y_ini and some includes.
Posts: 596
Threads: 75
Joined: Nov 2015
Thanks You Both,solved a big problem
But timers make the server lag so if there is another meathod possible?
Posts: 596
Threads: 75
Joined: Nov 2015
Quote:
Originally Posted by ALiScripter
you can get the score from the save files and you can make a /top10 command using Y_ini or even a temporary ban system using Y_ini and some includes.
|
Wait a min bro,you said "you can get the score from the save files"
can you tell me how it is possible? Please