hthuong Posted December 31, 2012 Posted December 31, 2012 How to save character data to SQL with script? Quote
Nana Posted December 31, 2012 Posted December 31, 2012 (edited) You have to use something like this query_sql "SELECT `str` FROM global_reg_value WHERE account_id = " +.@idcuenta[0], .@array$[0]; // check cash points if (.@array$[0] != "#CASHPOINTS") { // if not then null query_sql "INSERT INTO `global_reg_value` (`char_id`,`str`,`value`,`type`,`account_id`) VALUES ('0','#CASHPOINTS','" +.@cantidad +"','2','" +.@idcuenta[0] +"')"; // Create cash points SQL } else { // Cash exist // update } // End if this is just an example of Rokimoki's guide n_n ~ Edited December 31, 2012 by aisha Quote
Question
hthuong
How to save character data to SQL with script?
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.