SA-MP Forums Archive
small help? - 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: small help? (/showthread.php?tid=609581)



small help? - GeorgeMcReary - 14.06.2016

hi i want to know how to convert .sql file of tables i created into .db file? or if it cant be done then how do it use .sql file inside my gamemode? like normally

#define SQL_DB "acounts.sql"

of like db_open(accounts.sql)


Re: small help? - TwinkiDaBoss - 14.06.2016

Get some SQL editor such as HeidiSQL and open the file. Open it and if it has a proper structure you can grab the code from there and convert it so you can make tables with it inside you GM.
As far as I know and I'm quite sure, you cant just run .sql extensions inside Pawn.


Re: small help? - GeorgeMcReary - 15.06.2016

Hello and Thank you for reply. can you give me Links to software you are reffering to?

Thanks


Re: small help? - Sew_Sumi - 15.06.2016

Quote:
Originally Posted by GeorgeMcReary
View Post
Hello and Thank you for reply. can you give me Links to software you are reffering to?

Thanks
http://lmgtfy.com/?q=HeidiSQL


Re: small help? - ManIsHere - 16.06.2016

Thanks for help i was wondering too