Top 10 small problem
#2

pawn Код:
mysql_query(ConnectionHandle, "SELECT user, Scores FROM `playerdata` ORDER BY `Scores` DESC LIMIT 10");
And a small suggestion:
Open the a_mysql.inc include file and check which commands have the ConnectionHandle variable.
Most have it set to 1 by default, but you may want to use the parameter anyway to prevent bugs.

Especially if you have more connections open, the connectionhandle won't be 1 in such cases.
Reply


Messages In This Thread
Top 10 small problem - by Face9000 - 30.01.2014, 21:52
Re: Top 10 small problem - by PowerPC603 - 30.01.2014, 21:58
Re: Top 10 small problem - by Face9000 - 30.01.2014, 22:07

Forum Jump:


Users browsing this thread: 1 Guest(s)