So I've worked with SQL before, normally I use phpmyadmin to set up a database and tables and what not then once it's set up it's simple enough to run queries. But I have no idea what's up with this internal database stuff gmod has going on (the sv.db file). So how does one set up a table in it or whatever to save game data? (I know how to do the SQL queries, but I just need to know stuff like what's the username/password for it?, is the address the same as the server's normal IP address?, basically I need to know how to set everything up, but once I get that going then I can do all the queries myself.
sv.db is SQLite, so you don't need connection info or any of that. You just use the [URL="http://wiki.garrysmod.com/page/Category:sql"]GMOD SQL[/URL] library to save data in tables.
Cool, I used utime as a reference and it was all pretty straight forward once I got going, thanks ;)
Sorry, you need to Log In to post a reply to this thread.