I was talking to my friend the other day and he told me that apparently Dark RP (providing the current game mode is DRP ofcorse) has an inbuilt SQL function which can be used with any addon. Apparently it picks up on if SQL is enabled in DRP and if it is, it will do the query on the SQL server, if it isnt then it wont and it will do an SQLite query.
Any ideas on this?
[editline]7th December 2013[/editline]
Its MySQLite.query and you need to do a callback to get the value from the query like so:
MySQLite.query("QUERY HERE", function(data) for loop here end)