Dr.Ah[M]ed<3 Posted July 29, 2014 Author Share Posted July 29, 2014 (edited) حطيتة في قروب ادمن و مايسجل + يسوي حساب يقول كذا ERROR: xXlogin\server.lua:6: attempt to call globel "logIn' (a nill Value) Edited July 29, 2014 by Guest Link to comment
#DRAGON!FIRE Posted July 29, 2014 Share Posted July 29, 2014 : .. بسيرفر سايد الى onReg استبدل حدث addEvent ( "onReg", true ) addEventHandler ( "onReg", root, function ( user, pass ) if ( user and pass and type ( user ) == "string" and type ( pass ) == "string" ) then local account = getAccount ( user ) if ( not account ) then local account = addAccount ( user, pass ) if ( account ) then if ( not logIn ( source, account, pass ) ) then return outputChatBox ( "Login Error!", source, 255, 0, 0 ) end triggerClientEvent ( source, "Hidewindow", source ) else return outputChatBox ( "Register Error !", source, 255, 0, 0 ) end else return outputChatBox ( "Account is registered", source, 255, 0, 0 ) end end return false end ) Link to comment
Dr.Ah[M]ed<3 Posted July 29, 2014 Author Share Posted July 29, 2014 زاحف في لوجن يقول كذا ERROR: xXlogin\server.lua:6: attempt to call globel "logIn' (a nill Value) Link to comment
Max+ Posted July 29, 2014 Share Posted July 29, 2014 زاحف في لوجن يقول كذا ERROR: xXlogin\server.lua:6: attempt to call globel "logIn' (a nill Value) استخدم الكود حقي اخر واحد وشوف Link to comment
Dr.Ah[M]ed<3 Posted July 29, 2014 Author Share Posted July 29, 2014 الوجن اشتغل بس مشكلة في عمل حساب مايسوي شئ اطغط علية مايسوي شئ استخدمت كود زاحف مايسوي شئ بس لما احط كودك يا ماكس يقول ERROR: xXlogin\server.lua28:attemt to concalenate local 'pass' (a nill value) يقول كذا في الريجستر Link to comment
Max+ Posted July 29, 2014 Share Posted July 29, 2014 انسخ ذا سيرفر . . addEvent('onlogin', true) addEventHandler('onlogin',root, function (user, pass) local account = getAccount ( user, pass ) if ( account ~= true ) then if (logIn ( source, account, pass ) == true) then outputChatBox ( "You Logged in Sucessfuly!", source, 255, 255, 0 , true ) triggerClientEvent (source, "Hidewindow", source) else outputChatBox ( "Login Error!", source, 255, 0, 0 ) end else outputChatBox ( "Wrong username or password!", source, 255, 0, 0 ) end end ) addEvent('onReg',true) addEventHandler('onReg',root, function (user,pass) local account = getAccount(user,pass) if ( account ) then outputChatBox("* This Account is Already Used",source,255,0,0) triggerClientEvent (source, "Hidewindow", source) else addAccount(user,pass) outputChatBox ( "Register Details : [ Username ] : #00FF00" .. user .. " #FFFF1A[ Password ] : #00FF00" .. pass .. "", source, 255, 255, 0 , true ) triggerClientEvent (source, "Hidewindow", source) end end ) Link to comment
#DRAGON!FIRE Posted July 29, 2014 Share Posted July 29, 2014 الكود سليم وما فيه شي .. لو عدلت شي عليه اطرح تعديلكـ واطرح المــيتا . Link to comment
™!>VàLéNTiNô<!™ Posted July 30, 2014 Share Posted July 30, 2014 كود زاحف شغال 100 % تاكد بس انك مو مسجل دخول على اى حساب وجرب تسوى رجستير واتاكد بنفسك ممكن يظهرلك Login Error لانك مسوى دخول على حسابك ولما تيجى تسوى رجستير تظهرلك بس لو تلاحظ الحساب بيكون اتعمل Link to comment
Dr.Ah[M]ed<3 Posted July 30, 2014 Author Share Posted July 30, 2014 بس لما اسوي ريجستر تتاخر شوي ويقول تم عمل حساب Link to comment
Gta King Posted August 1, 2014 Share Posted August 1, 2014 بس لما اسوي ريجستر تتاخر شوي ويقول تم عمل حساب طيب يتاخر بس علي الاقل يسوي حساب احسن ما يقولك لوجين ايرور -__________________________- 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