Can anyone? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can anyone? (
/showthread.php?tid=599406)
Can anyone? -
K0P - 25.01.2016
Can anyone make a demo script for me which checks all the files in a folder for highest score,or help me making it?
Re: Can anyone? -
Lucky13 - 25.01.2016
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.
Re: Can anyone? -
K0P - 25.01.2016
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
Re: Can anyone? -
Lucky13 - 25.01.2016
Quote:
Originally Posted by K0P
Ty but im asking help for /top command which will show top 10 players
|
Top 10 players who have the highest score, right?
Re: Can anyone? -
K0P - 25.01.2016
Quote:
Originally Posted by Lucky13
Top 10 players who have the highest score, right?
|
yes,even if they are offline the fuction should work
Re: Can anyone? -
Lucky13 - 25.01.2016
Do you know how to use INI?
Re: Can anyone? -
K0P - 28.01.2016
Quote:
Originally Posted by Lucky13
Do you know how to use INI?
|
yes,not totally but the basics