SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 04/01/2020, 06:19 PM   #11
cipi89
Little Clucker
 
Join Date: Sep 2018
Posts: 30
Reputation: 3
Default Re: Help with highest scores on server

@calisthenics thing is I no longer have time to script and my whole gamemode is in Y_INI, so changing it all to SQL would take time that I do not have, therefor I was looking for faster fixes, If SQL is the only way I guess thanks for your help guys
cipi89 is offline   Reply With Quote
Old 04/01/2020, 09:00 PM   #12
Calisthenics
High-roller
 
Join Date: May 2018
Posts: 1,228
Reputation: 205
Default Re: Help with highest scores on server

It is not necessary to change the whole gamemode for now, you can start off by saving the score in a database and get the job done. In your spare time, you can convert parts of y_ini to SQLite/MySQL.

The reason I insist about SQL is that it makes things a lot easier. One day you decide to change top5 to top10. What will happen to the 5 missing slots? You can display leaderboard to your website as well.
__________________
Calisthenics is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
giving scores to people under 999 scores only Superhot Scripting Help 4 22/10/2013 04:05 AM
getting highest money on server.. kizla Scripting Help 1 30/04/2013 09:18 PM
how to get the highest score in the server? Rocky Balboa Help Archive 8 23/08/2010 05:22 PM
Server Side scores? Anthony_Brassi Help Archive 2 05/05/2010 04:27 PM
How to Get The Highest Kills Of The Player On the Server Bearfist Help Archive 2 10/05/2009 10:56 AM


All times are GMT. The time now is 01:55 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.