Posts: 596
Threads: 75
Joined: Nov 2015
Can anyone make a demo script for me which checks all the files in a folder for highest score,or help me making it?
Posts: 276
Threads: 17
Joined: Dec 2015
Reputation:
0
It would be much easier if you make a global variable which will be the highest score and then you save it into a file and load it anytime you open the server ( at OnGameModeInit ) and save it anytime you close / restart the server ( OnGameModeExit ).
I can help you make one if you want.
Posts: 596
Threads: 75
Joined: Nov 2015
Quote:
Originally Posted by Lucky13
It would be much easier if you make a global variable which will be the highest score and then you save it into a file and load it anytime you open the server ( at OnGameModeInit ) and save it anytime you close / restart the server ( OnGameModeExit ).
I can help you make one if you want.
|
Ty but im asking help for /top command which will show top 10 players
Posts: 596
Threads: 75
Joined: Nov 2015
Quote:
Originally Posted by Lucky13
Top 10 players who have the highest score, right?
|
yes,even if they are offline the fuction should work
Posts: 276
Threads: 17
Joined: Dec 2015
Reputation:
0
Do you know how to use INI?
Posts: 596
Threads: 75
Joined: Nov 2015
Quote:
Originally Posted by Lucky13
Do you know how to use INI?
|
yes,not totally but the basics