Wei Posted June 7, 2012 Posted June 7, 2012 I'm learning sql and I need some help. Can somebuddy show me an example of save system ?
Castillo Posted June 7, 2012 Posted June 7, 2012 Why instead of ask for an example of something specified you don't go to the wiki and try to make it with the examples given? -- SQLite only: executeSQLCreateTable executeSQLDelete executeSQLDropTable executeSQLInsert executeSQLQuery executeSQLSelect executeSQLUpdate -- MySQL and SQLite: dbConnect dbExec dbQuery dbPoll dbFree
Cyandie Posted June 7, 2012 Posted June 7, 2012 Or this https://wiki.multitheftauto.com/wiki/Modules/MTA-MySQL the functions are below.
Castillo Posted June 8, 2012 Posted June 8, 2012 I wouldn't recommed that Montiz, these functions are old, the built-on MySQL functions are easier to use.
Wei Posted June 8, 2012 Author Posted June 8, 2012 what about sql resource ? Is there any wiki for it ?
Dev Posted June 8, 2012 Posted June 8, 2012 I wouldn't recommed that Montiz, these functions are old, the built-on MySQL functions are easier to use. True.
Castillo Posted June 8, 2012 Posted June 8, 2012 what about sql resource ? Is there any wiki for it ? What do you mean?
Wei Posted June 8, 2012 Author Posted June 8, 2012 something like that: exports.sql:query_insertid( "INSERT INTO doingJob (Player, State,) VALUES (" .. table.concat( { theName, state } ) .. ")" )
Castillo Posted June 8, 2012 Posted June 8, 2012 That resource was created by the game mode scripter.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now