Onairda Posted April 22 Posted April 22 I have a custom skills in map/skill.cpp Could someone give me a syntax to insert data in SQL Table Name: CustomMonster Fields: id, char_id, mob_id, mob_name what sysntax I can use to insert the data? Quote case SG_CUSTOMMMONSTER: { if (!sd || !bl || bl->type != BL_MOB) break; struct mob_data* md = (TBL_MOB*)bl; // Check if monster is if custom if (md->db->mexp != 999999) { clif_displaymessage(sd->fd, "This monster custom!."); //INSERT TO SQL PLEASE GIVE SYNTAX THAT will insert the char_id, mob_id, and mob_name to Table CustomMonster break } Quote
0 Onairda Posted April 23 Author Posted April 23 ERROR RECVING LINK2001 SOVLED! Just get the format in Vending.cpp Quote
Question
Onairda
I have a custom skills in map/skill.cpp
Could someone give me a syntax to insert data in SQL
Table Name: CustomMonster
Fields: id, char_id, mob_id, mob_name
what sysntax I can use to insert the data?
1 answer 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.