-
Posts
61 -
Joined
-
Last visited
Everything posted by sonnyblack25
-
ادري انها في نفس المود طبعا بس انا ما عندي سبب يخليني انشر مود ملغم ابدا
-
في اكواد اسمها اكواد تلغيم تشتغل بالحساب او بالسريال وتحطلها الاوامر بس المشكله اني ما عرفت الاقيها بالويكي
-
انا ما ابي له تشفير ابي الغمه باكواد
-
السلام عليكم لو سمحتم شباب انا سويت مود بس كنت ابي احفظ الحقوق حقتي فكنت احتاج اكواد للتلغيم بحيث الي يستخدم اي مود لي اقدر احط كومند باف 8 مثلا ويسوي اي شي ابيه انا ------------------------------------------------------------ وشكرا
-
لو سمحت ممكن سكايب حقك
-
. بس هذيي لوحه dx موب لوحه عاديه
-
انا ما ابي برمجه انا ابي اعرف وش اسوي بس ! وانا بسويها
-
السلام عليكم ورحمه الله وبركاته يا شباب الحين انا لوحه اف 3 حقه السيارات بس اللوحه ما عجبتني فصممت لوحه جديده كيف احط اللوحه الجديده مكان القديمه؟ اكواد اللوحه لجديده GUIEditor = { gridlist = {}, } GUIEditor.gridlist[1] = guiCreateGridList(468, 208, 418, 252, false) guiGridListAddColumn(GUIEditor.gridlist[1], "Vehicle", 0.3) guiGridListAddColumn(GUIEditor.gridlist[1], "Price $", 0.3) guiGridListAddColumn(GUIEditor.gridlist[1], "Health", 0.3) addEventHandler("onClientRender", root, function() dxDrawRectangle(456, 124, 439, 530, tocolor(17, 16, 16, 165), false) dxDrawText("", 585, 135, 585, 135, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("Vechicle System | Gta-SPR", 457, 128, 893, 150, tocolor(255, 255, 255, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawRectangle(464, 164, 131, 35, tocolor(255, 255, 255, 88), true) dxDrawRectangle(609, 164, 131, 35, tocolor(255, 255, 255, 88), true) dxDrawRectangle(755, 164, 131, 35, tocolor(255, 255, 255, 88), true) dxDrawText("Spawn Vechicle", 464, 163, 592, 198, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawText("Destory Vehicle", 609, 164, 737, 199, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawText("Warp (5.000$)", 755, 163, 885, 199, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawRectangle(462, 476, 131, 35, tocolor(255, 255, 255, 88), true) dxDrawRectangle(609, 476, 131, 35, tocolor(255, 255, 255, 88), true) dxDrawRectangle(755, 476, 131, 35, tocolor(255, 255, 255, 88), true) dxDrawRectangle(462, 521, 131, 35, tocolor(255, 255, 255, 88), true) dxDrawRectangle(609, 521, 131, 35, tocolor(255, 255, 255, 88), true) dxDrawRectangle(755, 521, 131, 35, tocolor(255, 255, 255, 88), true) dxDrawRectangle(462, 566, 131, 35, tocolor(255, 255, 255, 88), true) dxDrawRectangle(609, 566, 131, 35, tocolor(255, 255, 255, 88), true) dxDrawRectangle(755, 566, 131, 35, tocolor(255, 255, 255, 88), true) dxDrawRectangle(462, 611, 423, 22, tocolor(255, 255, 255, 88), true) dxDrawText("Sell", 463, 475, 591, 509, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawText("Lock / Unlock", 609, 476, 737, 510, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawText("~Soon~", 755, 476, 883, 510, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawText("Light / Unlight", 755, 521, 883, 555, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawText("Spec.", 609, 521, 737, 555, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawText("Mark / Unmark", 463, 521, 591, 555, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawText("Repair", 462, 566, 590, 600, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawText("Eject Passenger", 609, 566, 738, 582, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "top", false, false, true, false, false) dxDrawText("Flip", 758, 566, 886, 600, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawText("Close Window", 462, 610, 885, 633, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawText("(5.000$)", 611, 585, 736, 600, tocolor(0, 0, 0, 255), 1, "default-bold", "center", "center", false, false, true, false, false) dxDrawLine(890, 157, 462, 157, tocolor(255, 255, 255, 255), 1, true) end ) جزء من كواد اللوحه القديمه function ClientExplosionCFunction() if isInColExport () then cancelEvent () end end addEventHandler("onClientExplosion", root, ClientExplosionCFunction) end , 1000, 1 ) local screX, screY = guiGetScreenSize() Window_VS = guiCreateWindow(465, 122, 408, 483,"Vehicle System | [SPR]",false) guiSetAlpha(Window_VS, 1) guiWindowSetSizable(Window_VS, false) guiSetVisible(Window_VS, false) Grid_VS = guiCreateGridList(468, 208, 418, 252, false) guiGridListSetSelectionMode(Grid_VS, 1) guiGridListAddColumn(Grid_VS, "Vehicle", 0.3) guiGridListAddColumn(Grid_VS, "Price $", 0.3) guiGridListAddColumn(Grid_VS, "Health", 0.3) guiLabelSetColor(Label_VeS, 255, 125, 0) guiLabelSetColor(Label_SVS, 255, 125, 0) guiSetFont(Label_VeS, "default-bold-small") guiSetFont(Label_SVS, "default-bold-small") Button_VS_sn = guiCreateButton(10, 24, 104, 33,"Spawn Vehicle",false,Window_VS) guiSetFont(Button_VS_sn, "default-bold-small") guiSetProperty(Button_VS_sn, "NormalTextColour", "FFD06200") Button_VS_dy = guiCreateButton(143, 24, 107, 33,"Destroy Vehicle",false,Window_VS) guiSetFont(Button_VS_dy, "default-bold-small") guiSetProperty(Button_VS_dy, "NormalTextColour", "FFD06200") Button_VS_lk = guiCreateButton(146, 338, 127, 33,"Lock/Unlock ",false,Window_VS) guiSetFont(Button_VS_lk, "default-bold-small") guiSetProperty(Button_VS_lk, "NormalTextColour", "FF2553FF") Button_VS_lt = guiCreateButton(279, 378, 118, 33,"Light/Unlight ",false,Window_VS) guiSetFont(Button_VS_lt, "default-bold-small") guiSetProperty(Button_VS_lt, "NormalTextColour", "FFAE5112") Button_VS_bp = guiCreateButton(12, 378, 130, 33,"Mark/Unmark ",false,Window_VS) guiSetFont(Button_VS_bp, "default-bold-small") guiSetProperty(Button_VS_bp, "NormalTextColour", "FFAE5112") Button_VS_Spc = guiCreateButton(146, 378, 127, 33,"Spectate ",false,Window_VS) guiSetFont(Button_VS_Spc, "default-bold-small") guiSetProperty(Button_VS_Spc, "NormalTextColour", "FFAE5112") guiSetProperty(Button_VS_Spc, "Disabled", "True") Button_VS_Fix = guiCreateButton(10, 417, 132, 29,"Repair ($5,000)",false,Window_VS) --guiSetProperty(Button_VS_Fix, "Disabled", "True") guiSetFont(Button_VS_Fix, "default-bold-small") guiSetProperty(Button_VS_Fix, "NormalTextColour", "FFF0FF09") Button_VS_Warp = guiCreateButton(276, 24, 121, 33,"Warp ($5,000)",false,Window_VS) guiSetFont(Button_VS_Warp, "default-bold-small") guiSetProperty(Button_VS_Warp, "NormalTextColour", "FFD06200") Button_VS_1 = guiCreateButton(10, 338, 132, 33,"Sell Vehicle",false,Window_VS) guiSetFont(Button_VS_1,"default-bold-small") guiSetProperty(Button_VS_1, "NormalTextColour", "FF2553FF") Button_VS_2 = guiCreateButton(11, 450, 386, 24,"Close",false,Window_VS) guiSetFont(Button_VS_2,"default-bold-small") guiSetProperty(Button_VS_2, "NormalTextColour", "FF23A505") Button_VS_3 = guiCreateButton(279, 338, 118, 33,"Soon",false,Window_VS) guiSetFont(Button_VS_3,"default-bold-small") guiSetProperty(Button_VS_3, "NormalTextColour", "FF2553FF") Button_VS_4 = guiCreateButton(146, 417, 128, 29,"Eject passenger ($5,000)",false,Window_VS) guiSetFont(Button_VS_4,"default-bold-small") guiSetProperty(Button_VS_4,"NormalTextColour", "FFF0FF09") Button_VS_5 = guiCreateButton(279, 417, 118, 29,"Flip ($5,000)",false,Window_VS) guiSetFont(Button_VS_5,"default-bold-small") guiSetProperty(Button_VS_5,"NormalTextColour", "FFE0FB00") Button_VS_sl = guiCreateButton(10, 338, 132, 33,"Sell Vehicle",false,Window_VS) guiSetFont(Button_VS_sl, "default-bold-small") guiSetProperty(Button_VS_sl, "NormalTextColour", "FF2553FF") Button_VS_close = guiCreateButton(11, 450, 386, 24,"Close Window",false,Window_VS) guiSetFont(Button_VS_close, "default-bold-small") guiSetProperty(Button_VS_close, "NormalTextColour", "FF23A505") Window_CHK = guiCreateWindow(screX/2-155,screY/2-60,310,120,"!!! WARNING !!!",false) guiSetVisible(Window_CHK, false) guiSetProperty(Window_CHK, "AlwaysOnTop", "true") guiWindowSetSizable(Window_CHK, false) Label_CHK = guiCreateLabel(21,28,266,36,"",false,Window_CHK) guiLabelSetColor(Label_CHK, 255, 255, 0) guiLabelSetHorizontalAlign(Label_CHK,"center",true) Button_CHK_Y = guiCreateButton(17,73,129,36,"Yes",false,Window_CHK) Button_CHK_N = guiCreateButton(161,73,129,36,"No",false,Window_CHK) ارجو المساعده لزياده الاستفسار سكايب : medo.fathy205 وشكرا...
-
اشكرك جدا اخوي
-
انا معي كود بس بالقيمه حقته وابيه من غير الفيمه هذا هو الكود function PointG_2() if getElementData(localPlayer,"LoginTopP") then for i, valueT in ipairs(PointGang) do dxDrawFramedText ( "Best Gang : "..valueT[1].. " ("..convertNumber(valueT[2])..")",(sX/600)*20, (sY/600)*245, (sX/800)*30, (sY/600)*80, tocolor(255, 10, 0, 255),1.0, "default-bold", "left", "top", false, false, true, false, false) PlayerBestG = valueT[1] end end end
-
لو سمحت ممكن الكود كامل ^_^؟؟
-
السلام عليكم ورحمه الله وبركاته لو سمحتم يا شباب ابي كود يخلي الكلام يظهر علي الشاشه مثل الصوره في الرابط :
-
بصراحه اشكرك جدا جدا
-
لو سمحت انت ما فهمت موضوعي صح
-
[return-break-tostring-tonumber] : تحديث : شرح
sonnyblack25 replied to فاّرس's topic in دروس في البرمجة
عندك قناه يوتيوب لان الصراحه الفيديو يوضح اكثر من الكتابه -
السلام عليكم ورحمه الله وبركاته معي سؤال للمبرمجين المحترفين او مو لازم محترفين بس يفهمون في البرمجه حبيت اطرح سؤال كل المبتدئين وهو من وين يبدا المبرمج المبتدئ ارجوا الجواب علي هذا السؤال لان في كثير من المبتدئين يكون هذا سؤالهم وشكرا ^^
-
هذي عرب كوم القديمه ابي اخليها من صور الي دي اكس
-
السلام عليكم ورحمه الله وبركاته يا شباب انا معي اكواد لوحه تسجيل في قيم مود بس انا صممت واحده دي اكس وابي احطها وابي مساعده الاكواد ... wdwLogin_Pannel = {} tabPannel_Main = {} tab_Login = {} tab_Register = {} function open_log_reg_pannel() if not(isElement(Login_img)) then addEventHandler("onClientPreRender", root, loginPanelRender) showChat(false) x,y = guiGetScreenSize() local sWidth,sHeight = guiGetScreenSize() local Width,Height = 350,350 local X = (sWidth/2) - (Width/2) local Y = (sHeight/2) - (Height/2) Login_img = guiCreateStaticImage( X, Y + 1, 350, 350, "login_window.png", false ) guiSetEnabled (Login_img, false) --!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! shLogin = guiCreateStaticImage( X + 290, Y + 90, 90, 40, "login.png", false ) addEventHandler("onClientGUIClick",shLogin,onClickBtnLogin) addEventHandler( "onClientMouseEnter",shLogin,LoginSH) addEventHandler("onClientMouseLeave",shLogin,SErem) edit_Login = guiCreateEdit(X + 140,Y + 100,150,25,"",false) edit_password = guiCreateEdit(X + 140,Y + 150,150,25,"",false) guiEditSetMaxLength ( edit_Login,19) guiEditSetMaxLength ( edit_password,19) guiEditSetMasked ( edit_password, true ) lbl_about_legth = guiCreateLabel(142,42,184,18,"",false) guiLabelSetColor(lbl_about_legth,253,255,68) guiLabelSetVerticalAlign(lbl_about_legth,"center") guiLabelSetHorizontalAlign(lbl_about_legth,"center",false) checkbox_save = guiCreateCheckBox(X + 140,Y + 175,100,20,"(Keep Saved!)",true,false) guiSetFont(checkbox_save,"default-small") login_tab_error_msg = guiCreateLabel(X,Y + 200,364,31,"Error_login_tab",false) guiLabelSetColor(login_tab_error_msg,255,0,0) guiLabelSetVerticalAlign(login_tab_error_msg,"center") guiLabelSetHorizontalAlign(login_tab_error_msg,"center",false) guiSetFont(login_tab_error_msg,"default-bold-small") lbl_reg_top_infO = guiCreateLabel(X - 71,Y + 201,500,30,"www.arab-com.com في حال قمت بالتسجيل سابقا ونسيت بياناتك قم بالتواصل معنا على",false) lbl_reg_top_info = guiCreateLabel(X - 70,Y + 200,500,30,"www.arab-com.com في حال قمت بالتسجيل سابقا ونسيت بياناتك قم بالتواصل معنا على",false) guiLabelSetColor(lbl_reg_top_info,255,234,55) guiLabelSetColor(lbl_reg_top_infO,0,0,0) guiLabelSetVerticalAlign(lbl_reg_top_info,"center") guiLabelSetVerticalAlign(lbl_reg_top_infO,"center") guiLabelSetHorizontalAlign(lbl_reg_top_info,"center",false) guiLabelSetHorizontalAlign(lbl_reg_top_infO,"center",false) guiSetVisible(lbl_reg_top_info,false) guiSetVisible(lbl_reg_top_infO,false) edit_account_name = guiCreateEdit(X + 180,Y + 100,150,25,"",false) guiEditSetMaxLength ( edit_account_name,19) guiSetVisible(edit_account_name,false) edit__reg_tab_password = guiCreateEdit(X + 180,Y + 140,150,25,"",false) guiEditSetMaxLength ( edit__reg_tab_password,19) guiEditSetMasked ( edit__reg_tab_password, true ) guiSetVisible(edit__reg_tab_password,false) edit__reg_tab_Repassword = guiCreateEdit(X + 180,Y + 180,150,25,"",false) guiEditSetMaxLength ( edit__reg_tab_Repassword,19) guiEditSetMasked ( edit__reg_tab_Repassword, true ) guiSetVisible(edit__reg_tab_Repassword,false) guiSetEnabled (edit__reg_tab_Repassword, true) --!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! shRegister = guiCreateStaticImage( X + 290, Y + 160, 90, 40, "register.png", false ) addEventHandler("onClientGUIClick",shRegister,OnBtnRegister) addEventHandler( "onClientMouseEnter",shRegister,RegisterSH) addEventHandler("onClientMouseLeave",shRegister,SErem) --!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! shRegister2 = guiCreateStaticImage( X + 60, Y + 220, 300, 70, "register2.png", false ) addEventHandler("onClientGUIClick",shRegister2,onClickBtnRegister) addEventHandler( "onClientMouseEnter",shRegister2,Register2SH) addEventHandler("onClientMouseLeave",shRegister2,SErem) guiSetVisible(shRegister2,false) reg_tab_error_msg = guiCreateLabel(X,Y + 210,364,31,"Error_reg_ttab",false) guiLabelSetColor(reg_tab_error_msg,255,20,0) guiLabelSetVerticalAlign(reg_tab_error_msg,"center") guiLabelSetHorizontalAlign(reg_tab_error_msg,"center",false) guiSetFont(reg_tab_error_msg,"default-bold-small") showCursor(true) guiSetText(reg_tab_error_msg, "") guiSetText(login_tab_error_msg, "") local username, password = loadLoginFromXML() if not( username == "" or password == "") then guiCheckBoxSetSelected ( checkbox_save, true ) guiSetText ( edit_Login, tostring(username)) guiSetText ( edit_password, tostring(password)) else guiCheckBoxSetSelected ( checkbox_save, false ) guiSetText ( edit_Login, tostring(username)) guiSetText ( edit_password, tostring(password)) end end end addEvent("OpenLoginPanel", true) addEventHandler("OpenLoginPanel", getRootElement(), open_log_reg_pannel) function LoginSH () guiStaticImageLoadImage(shLogin, "sh.png" ) end function RegisterSH () guiStaticImageLoadImage(shRegister, "shr.png" ) end function Register2SH () guiStaticImageLoadImage(shRegister2, "shr2.png" ) end function SErem () guiStaticImageLoadImage(shLogin, "login.png" ) guiStaticImageLoadImage(shRegister, "register.png" ) guiStaticImageLoadImage(shRegister2, "register2.png" ) end function loadLoginFromXML() local xml_save_log_File = xmlLoadFile ("files/xml/userdata.xml") if not xml_save_log_File then xml_save_log_File = xmlCreateFile("files/xml/userdata.xml", "login") end local usernameNode = xmlFindChild (xml_save_log_File, "username", 0) local passwordNode = xmlFindChild (xml_save_log_File, "password", 0) if usernameNode and passwordNode then return xmlNodeGetValue(usernameNode), xmlNodeGetValue(passwordNode) else return "", "" end xmlUnloadFile ( xml_save_log_File ) end function saveLoginToXML(username, password) local xml_save_log_File = xmlLoadFile ("files/xml/userdata.xml") if not xml_save_log_File then xml_save_log_File = xmlCreateFile("files/xml/userdata.xml", "login") end if (username ~= "") then local usernameNode = xmlFindChild (xml_save_log_File, "username", 0) if not usernameNode then usernameNode = xmlCreateChild(xml_save_log_File, "username") end xmlNodeSetValue (usernameNode, tostring(username)) end if (password ~= "") then local passwordNode = xmlFindChild (xml_save_log_File, "password", 0) if not passwordNode then passwordNode = xmlCreateChild(xml_save_log_File, "password") end xmlNodeSetValue (passwordNode, tostring(password)) end xmlSaveFile(xml_save_log_File) xmlUnloadFile (xml_save_log_File) end addEvent("saveLoginToXML", true) addEventHandler("saveLoginToXML", getRootElement(), saveLoginToXML) function resetSaveXML() local xml_save_log_File = xmlLoadFile ("files/xml/userdata.xml") if not xml_save_log_File then xml_save_log_File = xmlCreateFile("files/xml/userdata.xml", "login") end if (username ~= "") then local usernameNode = xmlFindChild (xml_save_log_File, "username", 0) if not usernameNode then usernameNode = xmlCreateChild(xml_save_log_File, "username") end end if (password ~= "") then local passwordNode = xmlFindChild (xml_save_log_File, "password", 0) if not passwordNode then passwordNode = xmlCreateChild(xml_save_log_File, "password") end xmlNodeSetValue (passwordNode, "") end xmlSaveFile(xml_save_log_File) xmlUnloadFile (xml_save_log_File) end addEvent("resetSaveXML", true) addEventHandler("resetSaveXML", getRootElement(), resetSaveXML) function onClickBtnLogin(button,state) showCursor(false) guiSetVisible(shLogin, false) guiSetVisible(shRegister, false) guiSetVisible(edit_password, false) guiSetVisible(edit_Login, false) guiSetVisible(checkbox_save, false) guiSetVisible(Login_img, false) if(button == "left" and state == "up") then if (source == shLogin) then username = guiGetText(edit_Login) password = guiGetText(edit_password) if guiCheckBoxGetSelected ( checkbox_save ) == true then checksave = true else checksave = false end triggerServerEvent("onRequestLogin",getLocalPlayer(),username,password,checksave) end end end function OnBtnRegister () guiStaticImageLoadImage(Login_img, "register_window.png" ) guiSetVisible(shRegister2, true) guiSetVisible(lbl_reg_top_info,true) guiSetVisible(lbl_reg_top_infO,true) guiSetVisible(edit__reg_tab_Repassword,true) guiSetEnabled (edit__reg_tab_Repassword, true) guiSetVisible(edit__reg_tab_password,true) guiSetVisible(edit_account_name,true) guiSetVisible(shLogin, false) guiSetVisible(shRegister, false) guiSetVisible(edit_password, false) guiSetVisible(edit_Login, false) guiSetVisible(checkbox_save, false) end function onClickBtnRegister(button,state) guiStaticImageLoadImage(Login_img, "Login_window.png" )
-
ممكن مثال لو سمحت
-
السلام عليكم يا شباب ابي الاكواد المطلوبه علشان اسوي ماركر لما اللاعب يدخله يقوله اختار المكان ويكون في ماركر في المكان الي يبي يروحه سكايب : medo.fathy205
-
ضيفته وسويت قروب للاسل Best-Group بس مافي حل
-
السلام عليكم ورحمه الله وبركاته يا شباب بالنسبه لبيست شرطي + بيست حرامي سويت اسل جديد اسمه Best-G و Best-P وظهر التاج حقهم ــــــــــــــــــــــــــــــــــــــــــــ السؤال: كيف اسوي تاج لبيست القروب يعني ابي القروب الي معاه بيست الاحتلال يظهر قبل اسم اعضاء القروب اسم القروب حقهم = تاج ــــــــــــــــــــــــــــــــــــــــــــــــــ ارجو المساعده