MySQL compilation error. - 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: MySQL compilation error. (
/showthread.php?tid=489791)
MySQL compilation error. -
Tamer - 24.01.2014
Decided to keep the topic private.
Re: MySQL compilation error. -
Scottas - 24.01.2014
Or you can use strcat, but you still need variable to store your string.
pawn Код:
new
bigQuery[bignumber];
strcat(bigQuery, "CREATE TABLE IF NOT EXISTS `users` (`id` int(11) NOT NULL AUTO_INCREMENT,");
strcat(bigQuery, "`name` varchar(24) NOT NULL, `pass` varchar(129) NOT NULL,");
strcat(bigQuery, "PRIMARY KEY (`id`))");
It's just an example, write as much as it fits in one function