Jump to content

CRoW,,#

Members
  • Posts

    646
  • Joined

  • Last visited

Everything posted by CRoW,,#

  1. يخوي بس الفري روم يختلف wndCreateVehicle = { 'wnd', text = 'السيارات', width = 300, controls = { { 'lst', id='vehicles', width=280, height=340, columns={ {text='السيارات', attr='name'} }, rows={xml='vehicles.xml', attrs={'id', 'name'}}, onitemdoubleclick=createSelectedVehicle }, {'btn', id='اختيار', onclick=createSelectedVehicle}, {'btn', id='اغلاق', closeswindow=true} } }
  2. طيب وش Row ID حق الفري روم +columns
  3. بالنسسبة لل guiGridListSetItemColor ابيه ماث راندوم سويتهه كذا بس ما ضبط setTimer( function() guiGridListSetItemColor ( lst,math.random(1,255), math.random(1,255), math.random(1,255) ) end, 100, 0 ) end
  4. ضبط القريد لست طيب الزر ؟
  5. السلام عليكم في كم شغلةة ماعرفتها بالفري روم كيف اضيف زر تطلع منه نافذة كيف الون القريد لست حق السيارات في الفري روم كيف اخلي ازرار الفري روم تتلون مثل الفلاش عشوائي
  6. لا ما ابيه اذا مر الماوس ابيه اذا ضغط على الزر
  7. السلام عليكم بغيت كود اذا واحد لمس اي زر في السيرفر كله يطلع له صوت انا احطهه
  8. طيب مافي امكانية يصير غير مسجل ؟ مدامه مسجل اكيد التحميل عنده مخلص وبكذا ما راح استفيد من المود
  9. وين الموضوع مو شايفه :ً +اصلا ما كنت بحطه طلب كود كنت محتار وش احطه وحطيت طلب كود
  10. السلام عليكمم ابي الي يخلص تحميلهه يروح لقروب ثاني انا احطه تلقائي اول ما يخلص التحميل وبسس ً
  11. خخخخ جربته وظابط . طيب تقدر ترفع لي المود الشغال لاهنت
  12. موب لازم يسجل تلقائي ! يبي لها واحد فاهم xml وبعدين الا لازم ذذ ولا كذا لوحة تسجيل الدخول تصير مثل اي لوحة ثانية مافيها شي مميز
  13. المود شغال وكل شي بسس ما يحفظ تسجيل دخول تلقائي function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "1.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 0, 0, 250, 100, titleBarText2, false, mainBackground ) guiSetEnabled ( mainBackgroundLabel, false ) return mainBackground end GUIEditor_Button = {} GUIEditor_Checkbox = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} fadeCamera( false ) showChat( false ) showCursor(true) 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 guiSetVisible( wnd, false ) showChat( true ) fadeCamera( true ) showCursor( false ) if ( guiCheckBoxGetSelected ( GUIEditor_Checkbox[1] ) ) then local file = xmlLoadFile("account.xml") or xmlCreateFile("account.xml","login") xmlNodeSetValue(xmlCreateChild(file,"name"),""..user.."") xmlNodeSetValue(xmlCreateChild(file,"pass"),""..pass.."") xmlNodeSetAttribute(file,"username",tostring(guiGetText(GUIEditor_Edit[1]))) xmlNodeSetAttribute(file,"password",tostring(guiGetText(GUIEditor_Edit[2]))) xmlSaveFile(file) xmlUnloadFile(file) triggerServerEvent('onlogin',localPlayer,user,pass) end addEvent("load",true) addEventHandler("load",root,function() local xml = xmlLoadFile ( "account.xml" ) local n1 = xmlFindChild ( xml, "name", 0 ) local n2 = xmlFindChild ( xml, "pass", 0 ) guiSetText(GUIEditor_Edit[1],xmlNodeGetValue ( n1 )) guiSetText(GUIEditor_Edit[2],xmlNodeGetValue ( n2 )) end) elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent('onRegister',localPlayer,user,pass) end end ) 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("onPlayerJoin",root,function() triggerClientEvent(source,"load",source) end) addEvent('onRegister',true) addEventHandler('onRegister',root, function (user,pass) local account = getAccount(user,pass) if ( account ) then logIn(source,account,pass) 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 )
  14. انا ما ابيه يحفظ المعلومات في ملف ابيه يحفظها في نفس اللوحة يعني على طول يخش يحصل كل شي جاهز يضغط دخول ويدخل على طول
  15. ترا يمدحون الاسلوب الزين ماقيد جربته ؟
  16. اها ذذ بسس برضو مافي فايدة ما يشتغل ><
×
×
  • Create New...