Quote:
Originally Posted by MatriXgaMer
I realy want to help you but i dont know much about MySQL
|
Then why did you even need to post in this thread since that you have no idea to help him!
On topic: You could minimize your code instead of sending lots of queries, use "SELECT * FROM bans" and use the sscanf format according to your database bans table. Example like your column is banindex, name, issuer, date, reason and expiration. So you could do something like this in your sscanf format. Make it like in the ascending order from the first column to the last column in your bans table.
pawn Код:
sscanf(query, "p<|>is[24]s[24]is[128]i", banindex, name, issuer, date reason, expirstion");