SA-MP Forums Archive
[HELP]BlueG's MySQL Plugin R7 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]BlueG's MySQL Plugin R7 (/showthread.php?tid=332945)



[HELP]BlueG's MySQL Plugin R7 - [DOG]irinel1996 - 09.04.2012

Hi, I have a problem.
I used to do this in OnGameModeInit to create my table in my MySQL database:
pawn Code:
mysql_query("CREATE TABLE IF NOT EXISTS accounts(username VARCHAR(24),\
    password VARCHAR(40),admin INT(10), score INT(20),money INT(20),kills INT(20),deaths INT(20),\
    coins INT(20),IP VARCHAR(16))"
);
But now, in R7 I can't do that, anyone can help me please? I think I have to use OnQueryFinish too, but I don't know how.

Thank you all, and best regards!