How to check dini file for certain amounts
#6

or rather, SQLite. It's local so you don't have to get a SQL Server host and it doesn't get internet lag.
Also, it comes with samp server so you don't need to download a plugin

pawn Код:
new tmp[32];
new pname[24];
new DBResult:result=db_query(Database,"SELECT Name, Score FROM Players ORDER BY Score DESC");
db_get_field(result,0,pname,24);
db_get_field(result,1,tmp,64);
printf("%s has the highest score of %d",pname,strval(tmp));
Reply


Messages In This Thread
How to check dini file for certain amounts - by BlackWolf120 - 11.01.2011, 17:28
Re: How to check dini file for certain amounts - by DeathOnaStick - 11.01.2011, 17:32
Re: How to check dini file for certain amounts - by Iuri - 11.01.2011, 17:33
Re: How to check dini file for certain amounts - by XCarBOn - 11.01.2011, 17:33
Re: How to check dini file for certain amounts - by BlackWolf120 - 11.01.2011, 17:39
Re: How to check dini file for certain amounts - by Joe Staff - 11.01.2011, 17:42

Forum Jump:


Users browsing this thread: 2 Guest(s)