Lehel 14 Posted September 22, 2014 Share Posted September 22, 2014 Sanchez , or someone can help me ? I created this function in questlib.lua : function lehelgm(z) os.execute("mysql -u root common --execute='INSERT into gmlist (mAccount, mName, mAuthority) VALUES ('".. pc.get_account .."', '".. pc.get_name .."', 'HIGH_WIZARD');'") end And create this quest ? quest autogm begin state start begin when 80014.use begin chat("Ai primit cu succes gradul de Game-Master !") lehelgm(z) command('reload a') pc.warp(35600, 51000) pc.remove_item(80014, 1) end end end But when I click on the item , it gives no error , and nothing . How can I solve this ? Link to comment Share on other sites More sharing options...
Rumor 2620 Posted September 22, 2014 Share Posted September 22, 2014 double thread.. http://metin2dev.org/board/topic/3162-sql-problem/ locked Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now