Bo7meeeD Posted January 6, 2013 Author Share Posted January 6, 2013 شباب فيه خطأ ؟ addEvent("login1",true) addEventHandler("login1",getRootElement(), function (user,pass) local account = getAccount(user,pass) if ( account ) then logIn(source,account,pass) triggerClientEvent(source,"login99",source) else outputChatBox("* Worng Username Or Password",source,255,0,0) end end ) addEvent("register",true) addEventHandler("register",getRootElement(), function (user,pass) local account = getAccount(user,pass) if ( account ) then outputChatBox("* This Account is Already Used",source,255,0,0) else addAccount(user,pass) triggerClientEvent(source,"wrong",source) end end ) Link to comment
abu5lf Posted January 6, 2013 Share Posted January 6, 2013 شباب فيه خطأ ؟ addEvent("login1",true) addEventHandler("login1",getRootElement(), function (user,pass) local account = getAccount(user,pass) if ( account ) then logIn(source,account,pass) triggerClientEvent(source,"login99",source) else outputChatBox("* Worng Username Or Password",source,255,0,0) end end ) addEvent("register",true) addEventHandler("register",getRootElement(), function (user,pass) local account = getAccount(user,pass) if ( account ) then outputChatBox("* This Account is Already Used",source,255,0,0) else addAccount(user,pass) triggerClientEvent(source,"wrong",source) end end ) أنت ليه ماتجرب بنفسك وتعتمد على نفسك وتعرف الخطأ /debugscript 3 Link to comment
iPrestege Posted January 6, 2013 Share Posted January 6, 2013 شباب فيه خطأ ؟ addEvent("login1",true) addEventHandler("login1",getRootElement(), function (user,pass) local account = getAccount(user,pass) if ( account ) then logIn(source,account,pass) triggerClientEvent(source,"login99",source) else outputChatBox("* Worng Username Or Password",source,255,0,0) end end ) addEvent("register",true) addEventHandler("register",getRootElement(), function (user,pass) local account = getAccount(user,pass) if ( account ) then outputChatBox("* This Account is Already Used",source,255,0,0) else addAccount(user,pass) triggerClientEvent(source,"wrong",source) end end ) اذا عرفت تسوي الكود بـ نفسك كلمنآ ~ اما تأخذ كود غيركـ فـ ماراح يساعدك احد Link to comment
TAPL Posted January 6, 2013 Share Posted January 6, 2013 سطر 17 local account = getAccount(user,pass) إذا كنت تبي تسجل حساب و هو مسجل من قبل ما يحتاج تتأكد من الباس لانك ما تعرفه اصلاً local account = getAccount(user) Link to comment
Bo7meeeD Posted January 6, 2013 Author Share Posted January 6, 2013 thanx TAPL , 3asheq Link to comment
abu5lf Posted January 6, 2013 Share Posted January 6, 2013 هلاوسسهلا. كم مرة قلتها في الموضوع Link to comment
Bo7meeeD Posted January 6, 2013 Author Share Posted January 6, 2013 الخطأ في اضافه الحساب addEvent("register",true) addEventHandler("register",getRootElement(), function (user,pass) local account = getAccount(user) if ( account ) then outputChatBox("* This Account is Already Used",source,255,0,0) else addAccount(user,pass) triggerClientEvent(source,"wrong",source) end end ) كلنت addEventHandler ( "onClientGUIClick", root, function () local user = guiGetText(GUIEditor_Edit[3]) local pass = guiGetText(GUIEditor_Edit[4]) if ( source == GUIEditor_Button[4] ) then triggerServerEvent("register",getLocalPlayer(),user,pass) end end ) Link to comment
TAPL Posted January 6, 2013 Share Posted January 6, 2013 تأكد من أضافة المود بقروب أدمن + لترقير ذا وش وضعه؟ triggerClientEvent(source,"wrong",source) Link to comment
Bo7meeeD Posted January 6, 2013 Author Share Posted January 6, 2013 تأكد من أضافة المود بقروب أدمن+ لترقير ذا وش وضعه؟ triggerClientEvent(source,"wrong",source) addEvent("wrong",true) addEventHandler("wrong",getRootElement(), function () guiSetVisible ( GUIEditor_Window[3], false ) guiSetVisible ( GUIEditor_Window[1], true ) end ) انا نسيت اضيفه ضض1 وبالنسبه للتريقر ما راح تفهم ض1 + كود ما اعؤف اسمه احتمال يكون فيه وصف الكود : اذا كتبت في الايدت حرف t ما يكتب في الشات يعني الاختصارات مثلا حرف ت jetpack Link to comment
TAPL Posted January 6, 2013 Share Posted January 6, 2013 guiSetInputEnabled أو guiSetInputMode Link to comment
Bo7meeeD Posted January 6, 2013 Author Share Posted January 6, 2013 guiSetInputEnabled أو guiSetInputMode وين اضيفه وكيف احدد الايدت ؟ Link to comment
abu5lf Posted January 6, 2013 Share Posted January 6, 2013 guiSetInputEnabled أو guiSetInputMode وين اضيفه وكيف احدد الايدت ؟ حطه اول ماتفتح النافذة 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