It's because you use the variale "query" first in this line:
pawn Код:
mysql_format(handle,query, sizeof(tquery), "SELECT playerName,playerGroupRank,playerCarWeapon3,playerLastLogin, playerDays FROM playeraccounts WHERE playerGroup = %d ORDER BY playerGroupRank DESC LIMIT 25",playerVariables[playerid][pGroup]);
Then afterwards, you create it:
pawn Код:
new test[256], query[256], test2[256], test3[256], days[256];
You should first declare your variables before you use them.
BTW, you use the "query" variable to store your info, then use "sizeof(tquery)" for it's size.
That should be "query" as well.