Jump to content

CRoW,,#

Members
  • Posts

    646
  • Joined

  • Last visited

Everything posted by CRoW,,#

  1. طيب مدام كذا اي واحد يزرف اوم الحسابات ؟
  2. وش الي مو شغال فيه ؟ كود حسن اضغط على تذكرني واطلع وادخل وشوف البيانات انحفظت ولا
  3. ي لبيهه لله تسلممممممم I'm waiting for you
  4. ما اشتغل ذا هوالملف http://www.gulfup.com/?5ABFiB
  5. اصلا ليه تخفيه ؟؟ ما اشوف فائدة اذا اخفيته
  6. GUIEditor_Button = {} GUIEditor_Checkbox = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} wnd = guiCreateWindow(1,1,799,600,"",false) guiSetAlpha(wnd,1) GUIEditor_Image[2] = guiCreateStaticImage(10,24,781,449,"1.png",false,wnd) GUIEditor_Edit[1] = guiCreateEdit(299,484,166,27,"",false,wnd) GUIEditor_Edit[2] = guiCreateEdit(299,520,166,27,"",false,wnd) guiEditSetMasked(GUIEditor_Edit[2],true) GUIEditor_Label[1] = guiCreateLabel(238,487,106,18,"username",false,wnd) GUIEditor_Label[2] = guiCreateLabel(238,521,106,18,"password",false,wnd) GUIEditor_Button[1] = guiCreateButton(279,559,78,24,"login",false,wnd) GUIEditor_Button[2] = guiCreateButton(432,559,78,24,"register",false,wnd) GUIEditor_Checkbox[1] = guiCreateCheckBox(474,522,123,22,"تذكرني",false,false,wnd) addEventHandler("onClientGUIClick",getRootElement(), function () local user = guiGetText(GUIEditor_Edit[1]) local pass = guiGetText(GUIEditor_Edit[2]) if ( source == GUIEditor_Button[1] ) then if ( guiCheckBoxGetSelected ( GUIEditor_Checkbox[1] ) ) then triggerServerEvent('save',localPlayer) triggerServerEvent('onlogin',localPlayer,user,pass) else triggerServerEvent('onlogin',localPlayer,user,pass) end elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent('onre',localPlayer,user,pass) end end ) function show() guiSetVisible(wnd, not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end bindKey ("F2", "down", show) تفضل طال عمرك ذذ
  7. GUIEditor_Button = {} GUIEditor_Checkbox = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} wnd = guiCreateWindow(1,1,799,600,"",false) guiSetAlpha(wnd,1) GUIEditor_Image[2] = guiCreateStaticImage(10,24,781,449,"1.png",false,wnd) GUIEditor_Edit[1] = guiCreateEdit(299,484,166,27,"",false,wnd) GUIEditor_Edit[2] = guiCreateEdit(299,520,166,27,"",false,wnd) guiEditSetMasked(GUIEditor_Edit[2],true) GUIEditor_Label[1] = guiCreateLabel(238,487,106,18,"username",false,wnd) GUIEditor_Label[2] = guiCreateLabel(238,521,106,18,"password",false,wnd) GUIEditor_Button[1] = guiCreateButton(279,559,78,24,"login",false,wnd) GUIEditor_Button[2] = guiCreateButton(432,559,78,24,"register",false,wnd) GUIEditor_Checkbox[1] = guiCreateCheckBox(474,522,123,22,"تذكرني",false,false,wnd) addEventHandler("onClientGUIClick",getRootElement(), function () local user = guiGetText(GUIEditor_Edit[1]) local pass = guiGetText(GUIEditor_Edit[2]) if ( source == GUIEditor_Button[1] ) then if ( guiCheckBoxGetSelected ( GUIEditor_Checkbox[1] ) ) then triggerServerEvent('save',localPlayer) triggerServerEvent('onlogin',localPlayer,user,pass) else triggerServerEvent('onlogin',localPlayer,user,pass) end elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent('onre',localPlayer,user,pass) end end ) addEvent("save",true) addEventHandler("save",root, function ( player, user, pass ) local account = getAccount ( user, pass ) if ( account ~= false ) then if (logIn ( player, account, pass ) == true) then local lr = xmlLoadFile("acc.xml") or xmlCreateFile("acc.xml"," acc") xmlNodeSetValue (xmlCreateChild ( lr, "UserName:"), ""..user.."" ) xmlNodeSetValue (xmlCreateChild ( lr, "password:"), ""..pass.."" ) xmlSaveFile(lr) xmlUnloadFile(lr) else outputChatBox ( "Error Login...", player, 255, 0, 0 ) end end end) function show() guiSetVisible(wnd, not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end bindKey ("F2", "down", show) addEvent('onlogin',true) addEventHandler('onlogin',getRootElement(), function (user,pass) local account = getAccount(user,pass) if ( account ) then logIn(source,account,pass) else outputChatBox("* Worng Username Or Password",source,255,0,0) end end ) addEvent('onre',true) addEventHandler('onre',root, 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) outputChatBox("UserName: " .. user .. " PassWord : " .. pass,source,0,150,255) end end ) addEventHandler('register', root, function (player, user, pass ) account = addAccount ( user, pass ) if (logIn ( player, account, pass ) == true) then outputChatBox ( "Register : [ Username ] : " .. user .. " [ Password ] : " .. pass .. "", player, 255, 255, 0 , true ) else outputChatBox ( "Erorr Register", player, 255, 255, 0 ) end end)
  8. في وظآئف سيرفر وش جآبهآ كلنت !؟ xml لازم يصير كلنت
  9. GUIEditor_Button = {} GUIEditor_Checkbox = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} wnd = guiCreateWindow(1,1,799,600,"",false) guiSetAlpha(wnd,1) GUIEditor_Image[2] = guiCreateStaticImage(10,24,781,449,"2.png",false,wnd) GUIEditor_Edit[1] = guiCreateEdit(299,484,166,27,"",false,wnd) GUIEditor_Edit[2] = guiCreateEdit(299,520,166,27,"",false,wnd) guiEditSetMasked(GUIEditor_Edit[2],true) GUIEditor_Label[1] = guiCreateLabel(238,487,106,18,"username",false,wnd) GUIEditor_Label[2] = guiCreateLabel(238,521,106,18,"password",false,wnd) GUIEditor_Button[1] = guiCreateButton(279,559,78,24,"login",false,wnd) GUIEditor_Button[2] = guiCreateButton(432,559,78,24,"register",false,wnd) GUIEditor_Checkbox[1] = guiCreateCheckBox(474,522,123,22,"تذكرني",false,false,wnd) addEventHandler("onClientGUIClick",getRootElement(), function () local user = guiGetText(GUIEditor_Edit[1]) local pass = guiGetText(GUIEditor_Edit[2]) if ( source == GUIEditor_Button[1] ) then if ( guiCheckBoxGetSelected ( GUIEditor_Checkbox[1] ) ) then triggerServerEvent('save',localPlayer) triggerServerEvent('onlogin',localPlayer,user,pass) else triggerServerEvent('onlogin',localPlayer,user,pass) end elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent('onre',localPlayer,user,pass) end end ) addEvent('onre',true) addEventHandler('onre',root, 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) outputChatBox("UserName: " .. user .. " PassWord : " .. pass,source,0,150,255) end end ) addEvent("save",true) addEventHandler("save",root, function ( player, user, pass ) local account = getAccount ( user, pass ) if ( account ~= false ) then if (logIn ( player, account, pass ) == true) then local lr = xmlLoadFile("acc.xml") or xmlCreateFile("acc.xml"," acc") xmlNodeSetValue (xmlCreateChild ( lr, "UserName:"), ""..user.."" ) xmlNodeSetValue (xmlCreateChild ( lr, "password:"), ""..pass.."" ) xmlSaveFile(lr) xmlUnloadFile(lr) else outputChatBox ( "Error Login...", player, 255, 0, 0 ) end end end) function show() guiSetVisible(wnd, not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end bindKey ("F2", "down", show) addEvent('onlogin',true) addEventHandler('onlogin',getRootElement(), function (user,pass) local account = getAccount(user,pass) if ( account ) then logIn(source,account,pass) else outputChatBox("* Worng Username Or Password",source,255,0,0) end end ) addEventHandler('register', root, function (player, user, pass ) account = addAccount ( user, pass ) if (logIn ( player, account, pass ) == true) then outputChatBox ( "Register : [ Username ] : " .. user .. " [ Password ] : " .. pass .. "", player, 255, 255, 0 , true ) else outputChatBox ( "Erorr Register", player, 255, 255, 0 ) end end) يصير كذا ؟
  10. اشتغل بس النافذة ما تروح +البينات ما تنحفظ
  11. [13:45:48] ERROR: Client triggered serverside event onre, but event is not added serverside
  12. برضوو ما تظهر GUIEditor_Button = {} GUIEditor_Checkbox = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} wnd = guiCreateWindow(1,1,799,600,"",false) guiSetAlpha(wnd,1) GUIEditor_Image[2] = guiCreateStaticImage(10,24,781,449,"2.png",false,wnd) GUIEditor_Edit[1] = guiCreateEdit(299,484,166,27,"",false,wnd) GUIEditor_Edit[2] = guiCreateEdit(299,520,166,27,"",false,wnd) guiEditSetMasked(GUIEditor_Edit[2],true) GUIEditor_Label[1] = guiCreateLabel(238,487,106,18,"username",false,wnd) GUIEditor_Label[2] = guiCreateLabel(238,521,106,18,"password",false,wnd) GUIEditor_Button[1] = guiCreateButton(279,559,78,24,"login",false,wnd) GUIEditor_Button[2] = guiCreateButton(432,559,78,24,"register",false,wnd) GUIEditor_Checkbox[1] = guiCreateCheckBox(474,522,123,22,"تذكرني",false,false,wnd) showCursor(true) guiSetInputEnabled(true) addEventHandler("onClientGUIClick",getRootElement(), function () local user = guiGetText(GUIEditor_Edit[1]) local pass = guiGetText(GUIEditor_Edit[2]) if ( source == GUIEditor_Button[1] ) then if ( guiCheckBoxGetSelected ( GUIEditor_Checkbox[1] ) ) then triggerServerEvent("save",getLocalPlayer()) triggerServerEvent("onlogin",getLocalPlayer(),user,pass) else triggerServerEvent("onlogin",getLocalPlayer(),user,pass) end elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent("onre",getLocalPlayer(),user,pass) end end end ) addEvent("setcol",true) addEventHandler("setcol",getRootElement(), function () guiSetVisible(wnd,false) showCursor(false) guiSetInputEnabled(false) end ) bindKey ("F2", "down", show) addEvent("onlogin",true) addEventHandler("onlogin",getRootElement(), function (user,pass) local account = getAccount(user,pass) if ( account ) then logIn(source,account,pass) triggerClientEvent(source,"setcol",source) else outputChatBox("* Worng Username Or Password",source,255,0,0) end end ) addEvent("onre",true) addEventHandler("onre",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) outputChatBox("UserName: " .. user .. " PassWord : " .. pass,source,0,150,255) end end ) addEvent("save",true) addEventHandler("save",root, function register ( player, user, pass ) local account = getAccount ( user, pass ) if ( account ~= false ) then if (logIn ( player, account, pass ) == true) then local lr = xmlLoadFile("acc.xml") or xmlCreateFile("acc.xml"," acc") xmlNodeSetValue (xmlCreateChild ( lr, "UserName:"), ""..user.."" ) xmlNodeSetValue (xmlCreateChild ( lr, "password:"), ""..pass.."" ) xmlSaveFile(lr) xmlUnloadFile(lr) else outputChatBox ( "Error Login...", player, 255, 0, 0 ) end else account = addAccount ( user, pass ) if (logIn ( player, account, pass ) == true) then outputChatBox ( "Register : [ Username ] : " .. user .. " [ Password ] : " .. pass .. "", player, 255, 255, 0 , true ) else outputChatBox ( "Erorr Register", player, 255, 255, 0 ) end end end addEventHandler( "register", getRootElement(), register ) xml admin admin
  13. اللوحة بكبرها ما تظهر اتوقع الخطا في الكلنت
  14. ما اشتغل صدق جاب لي الصداع ذا المود
  15. الحين تعلمت من لوحة تسجيل طلال وضبطت اللوحة بس الحين ابي اربط ال GUIEditor_Checkbox[1] بحفظ البيانات GUIEditor_Button = {} GUIEditor_Checkbox = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} wnd = guiCreateWindow(1,1,799,600,"",false) guiSetAlpha(wnd,1) GUIEditor_Image[2] = guiCreateStaticImage(10,24,781,449,"images/games.png",false,wnd) GUIEditor_Edit[1] = guiCreateEdit(299,484,166,27,"",false,wnd) GUIEditor_Edit[2] = guiCreateEdit(299,520,166,27,"",false,wnd) guiEditSetMasked(GUIEditor_Edit[2],true) GUIEditor_Label[1] = guiCreateLabel(238,487,106,18,"username",false,wnd) GUIEditor_Label[2] = guiCreateLabel(238,521,106,18,"password",false,wnd) GUIEditor_Button[1] = guiCreateButton(279,559,78,24,"login",false,wnd) GUIEditor_Button[2] = guiCreateButton(432,559,78,24,"register",false,wnd) GUIEditor_Checkbox[1] = guiCreateCheckBox(474,522,123,22,"تذكرني",false,false,wnd) showCursor(true) guiSetInputEnabled(true) addEventHandler("onClientGUIClick",getRootElement(), function () local user = guiGetText(GUIEditor_Edit[1]) local pass = guiGetText(GUIEditor_Edit[2]) if ( source == GUIEditor_Button[1] ) then triggerServerEvent("onlogin",getLocalPlayer(),user,pass) elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent("onre",getLocalPlayer(),user,pass) end end ) addEvent("setcol",true) addEventHandler("setcol",getRootElement(), function () guiSetVisible(wnd,false) showCursor(false) guiSetInputEnabled(false) end ) addEvent("onlogin",true) addEventHandler("onlogin",getRootElement(), function (user,pass) local account = getAccount(user,pass) if ( account ) then logIn(source,account,pass) triggerClientEvent(source,"setcol",source) else outputChatBox("* Worng Username Or Password",source,255,0,0) end end ) addEvent("onre",true) addEventHandler("onre",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) outputChatBox("UserName: " .. user .. " PassWord : " .. pass,source,0,150,255) end end )
  16. 1- اللغه العربيه في خطططر ي عيال 2- مسوي موضوع شكبره وشعرضه عشان تقول انك اعتزلت .. انت متى بديت تلعب عشان تعتزل كذا تحطم الادمي ههههه
×
×
  • Create New...