GTA San Posted May 24, 2018 Share Posted May 24, 2018 سلام عليكم الحين ذا المود اشغلة مايشتغل اسوي لة رستارت يولد يششتغل ويطفئ https://community.multitheftauto.com/index.php?p=resources&s=details&id=5228 Link to comment
|M.r|LooFe| Posted May 24, 2018 Share Posted May 24, 2018 1 hour ago, GTA San said: سلام عليكم الحين ذا المود اشغلة مايشتغل اسوي لة رستارت يولد يششتغل ويطفئ https://community.multitheftauto.com/index.php?p=resources&s=details&id=5228 عليككم السسلام ضيف المود لقروب الادمن Link to comment
GTA San Posted May 24, 2018 Author Share Posted May 24, 2018 2 hours ago, |M.r|LooFe| said: عليككم السسلام ضيف المود لقروب الادمن ماششتغل ي ققلبي المشكلة هنيـأ هو الي مسوية قال عدلو الاعدادات بملف سيرفر بس ماددري شعدل !! addEventHandler("onResourceStart", getResourceRootElement(), function() handler = dbConnect("mysql", "dbname="..mysqldatabase1..";host="..mysqlhost1, mysqluser1, mysqlpassword1, "autoreconnect=1") -- If the Handler 1 dont work if not(handler) then outputServerLog("[HOUSESYSTEM]MySQL handler 1 not accepted! Trying secondary handler...") handler = dbConnect("mysql", "dbname="..mysqldatabase2..";host="..mysqlhost2, mysqluser2, mysqlpassword2, "autoreconnect=1") if not(handler) then outputServerLog("[HOUSESYSTEM]MySQL handler 2 not accepted! Shutting down...") cancelEvent() else outputServerLog("[HOUSESYSTEM]MySQL handler 2 accepted!") housesys_startup() end else outputServerLog("[HOUSESYSTEM]MySQL handler 1 accepted!") housesys_startup() end end) Link to comment
|M.r|LooFe| Posted May 25, 2018 Share Posted May 25, 2018 14 hours ago, GTA San said: ماششتغل ي ققلبي المشكلة هنيـأ هو الي مسوية قال عدلو الاعدادات بملف سيرفر بس ماددري شعدل !! addEventHandler("onResourceStart", getResourceRootElement(), function() handler = dbConnect("mysql", "dbname="..mysqldatabase1..";host="..mysqlhost1, mysqluser1, mysqlpassword1, "autoreconnect=1") -- If the Handler 1 dont work if not(handler) then outputServerLog("[HOUSESYSTEM]MySQL handler 1 not accepted! Trying secondary handler...") handler = dbConnect("mysql", "dbname="..mysqldatabase2..";host="..mysqlhost2, mysqluser2, mysqlpassword2, "autoreconnect=1") if not(handler) then outputServerLog("[HOUSESYSTEM]MySQL handler 2 not accepted! Shutting down...") cancelEvent() else outputServerLog("[HOUSESYSTEM]MySQL handler 2 accepted!") housesys_startup() end else outputServerLog("[HOUSESYSTEM]MySQL handler 1 accepted!") housesys_startup() end end) اخي فالموقع الي ناشرا لمود كاتب انهه المود يعتمد عل Datebes Link to comment
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