Jump to content

#[K]iLLeR<3

Members
  • Posts

    578
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by #[K]iLLeR<3

  1. المشكلة تقريباً مو الكواد حقك كله انا غيرته كامل بس عرفت الطريقة منك بكذا يرجع لك الفضل
  2. ما كان يكلمك اصلا @N3xT يدور مشاكل ذا شوف له حل قبل
  3. لا م ابرمج للناس تقدر تشوف @Master_MTA
  4. ما اشتغل بدون اخطاء ما يرسل رسالة ولا يجيب شي بالميمو
  5. send = guiCreateButton(256, 674, 47, 28, "Send", false) guiSetFont(send, "default-bold-small") guiSetProperty(send, "NormalTextColour", "FF1EFF00") guiSetVisible(send,false) memo = guiCreateMemo(17, 413, 286, 258, "", false) guiMemoSetReadOnly(memo, true) guiSetVisible(memo,false) editBox = guiCreateEdit(21, 674, 235, 26, "", false) guiSetVisible(editBox,false) playersgrid = guiCreateGridList(21, 719, 280, 161, false) guiGridListAddColumn(playersgrid, "Players ..", 0.9) guiSetVisible(playersgrid,false) function setName() guiGridListClear(playersgrid) for id, player in ipairs(getElementsByType("player")) do if player == localPlayer then else local row = guiGridListAddRow(playersgrid) guiGridListSetItemText(playersgrid, row, 1, getPlayerName(player), false, false) end end end addEventHandler("onClientResourceStart",root,setName) addEventHandler("onClientPlayerJoin",root,setName) addEventHandler("onClientPlayerQuit",root,setName) addEventHandler("onClientPlayerChangeNick",root,setName) function OnSend() local name = guiGridListGetItemText(playersgrid, guiGridListGetSelectedItem(playersgrid), 1) if source == send then guiSetFlood(send, 5) if name then local text = guiGetText(editBox) triggerServerEvent("SendMsg", localPlayer, name, text) end end end addEventHandler("onClientGUIClick", getRootElement(), OnSend) ------------------------------------------------------------ function SendMsgs(name, text) local player = getPlayerFromName(name) if player then outputChatBox("#00ff00"..getPlayerName(source).." #00ff00: ".. text.."", player, 0, 255, 0,true) outputChatBox("You Send to #00ff00".. name.." #00ff00: ".. text.."", source, 0, 255, 0,true) end end addEvent("SendMsg", true) addEventHandler("SendMsg", root, SendMsgs) ذي الاكواد بدون التخبيص الي مسويه انا ما فهمت طريقة استعمال الداتا يعني كيف بتوصل له ولا كيف بخلي الميمو يجي فيه الكلام مو فاهم حاولت اسوي كذا المشكلة انه يجي الكلام للجميع
  6. Time = 5 -- حط عدد الدقائق الي تبيه بدل ال5 setTimer( function() restartResource(getThisResource()) end,60000*Time, 0) حط الكود ذا بالسيرفر حق مود الي تبي ترستره
  7. ما اعتقد تعرف تسويه يبي له شغل و مبرمج على الاقل مستوى متوسط علشان يعرفله
  8. الحين انا اقترح عليك تعمل اللفل بالداتا يعني تعمل داتا للفل و لما تبي تجيبها تعمل جلب للداتا مو تعمل جلب للفنكش لانه ذا يسوي لاق طول ما هو شغال المود بيعمل جلب للفنكش ذا و يسبب لاق للاعب الي بالسيرفر function mahdi() local level = ( getElementData(localPlayer,"level") or 0 ) local xp = ( getElementData(localPlayer,"xp") or 0 ) local needxp = level*100 dxDrawText("Level : "..level, 14, 695, 102, 710, tocolor(255, 255, 255, 255), 1.00, "sans", "left", "top", false, false, true, false, false) dxDrawText("XP : "..xp.." / "..needxp.."", 13, 714, 101, 729, tocolor(255, 255, 255, 255), 1.00, "sans", "left", "top", false, false, true, false, false) end addEventHandler("onClientRender", root, mahdi) اقصد كذا يكون ارتب و احسن و ما يجيب لاق و مفهوم بعد
  9. وعليكم السلام , بوش يفيد ذا وش الافاه منه قبل ما اجربه يعني ياريت تحط وش الفائدة من اليوزفل
  10. السلام عليكم ابي اسوي مود مثل مود الخاص الحين انا عملت كل ذول ( Edit , Memo , Edit, GridList, Button ) المشكلة الي عندي هي اني ابي لما الاعب يضغط على ال Button و يكون كلام بال Edit يجي للاعب الي محدده بال GridList الكلام بال Memo و يجي للي ارسل الكلام الي كتبه الحين انا اعرف اعملها و عملت ان الكلام يجي بالشات للطرفين بس الشي الي مو عارف اعمله هو انه يجي الكلام للشخصين بس يعني مو للكل انا لما ارسل للشخص الي محدده عملت انه يجي بال Memo بس يجي للكل انا ابي يجي بس الي و له الرسالة مو للكل جربت اسويها بجدول ما عرفت
  11. The server has closed some fixes in the mods But this problem happened to me twice in two different servers and I do not think this is because of the administrator's panel, as some people said because I modified the administrator's panel and the problem was temporarily solved when the server restarted but now I moved the server to a better host than before I hope that the problem will not be solved and I do not think that anything I have said is related to the problem because the problem is not permanent and not with everyone who enters the server because if someone else does not download another server, the problem does not appear, but the problem is not in my mods Because I am a maker of these mod and can not make or write anything that might harm the server because I know what I do and did not bring anything from the Internet It . can't be anything that may harm the server I am sorry I know that my words are contrary to some of them but I do not know what the problem is
  12. الموضوع مو للطلبات و تقدر تدور بقوقل بتلاقيه منتشر كثير هو
  13. لو تلاحظ بعد هو معطيه على اساس انه مو مبتدىء او مثلك ما يعرف الاكواد ولو يعرف كان من شكلها بدون ما يقراها عرفها لا حول
  14. اشوف الكود شارح نفسه للي يعرف الاكواد
  15. انصحك تكون بدايتك بالتعديل بعدين و انت تعدل تيجي هنا و تشوف وش فوائد كل كود من الاكواد بداية جميع المبرمجين
  16. هيه حبيبي انت و هو وين وين ترا اخليكم صراصير الحين بنفتح بكرا
  17. بالتوفيق لك قد شفت لك مساعدات بالمنتدى انت مبرمج جيد جدا بس ما بتلاقي دعم مثل زمان يعني الحين الناس ما عادت تجدد الكل صار يكرر اسال مجرب و سلامتك
  18. و كل يوم تقلي دروس و دراسة و مدري وش يوصخخخ
  19. سيرفرات كونتر سترايك 1.6 ﻻني لعبت cs go و ما حبيتها مثل 1.6 و ابي اسرق اشيء بس ناقصني سيرفر كونتر ساعدوني على السرقة بليز
  20. الحين انت تبي لو واحد ضغط على زر Button يظهر لوحة ثانية و تختفي الاولة ولا يظهر لوحة ثانية فوق الاولة ؟ وعليكم السلام *
  21. اعتقد كذا مدري اذا صح جرب local Veh = {} addEvent("giveveh", true) addEventHandler("giveveh", root, function(carId) player = source if isElement(Veh[player]) then if getElementData(player,"owner") == carId then setElementData(player,"owner",nil) destroyElement(Veh[player]) end Veh[player] = createVehicle(carId, x, y+10, z +5) setElementData(player,"owner",carId) end end )
  22. سويها بالجداول مب ضروري الداتا و مدري وش
  23. سلام عليكم شف الدي اكس تبيلها غلبه شوي لكن راح اساعدك قبل كل شي حط هذا اليوزفل فنكش باول الكلينت عندك function isMouseInPosition ( x, y, width, height ) if ( not isCursorShowing( ) ) then return false end local sx, sy = guiGetScreenSize ( ) local cx, cy = getCursorPosition ( ) local x = ( x/resolutionX )*sx local y = ( y/resolutionY )*sy local width = ( width/resolutionX )*sx local height = ( height/resolutionY )*sy local cx, cy = ( cx * sx ), ( cy * sy ) if ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) then return true else return false end end بعدين تجيب احداثيات المكان الي تبي تخليه زر و تعمل كذا dxDrawImage(0, 0, 1365, 767, "2.jpg" , angle ,0 ,-128 ) dxDrawImage(613, 52, 289, 393, "6.png" ,angle, 0, -128) dxDrawRectangle(519, 455, 476, 41, tocolor(0, 0, 0, 170), true) dxDrawRectangle(519, 512, 476, 41, tocolor(0, 0, 0, 170), true) dxDrawRectangle(525, 460, 464, 31, tocolor(255, 255, 255, 255), true) dxDrawRectangle(525, 516, 464, 31, tocolor(255, 255, 255, 255), true) dxDrawRectangle(538, 583, 192, 50, tocolor(0, 0, 0, 170), true) dxDrawRectangle(783, 583, 192, 50, tocolor(0, 0, 0, 170), true) dxDrawRectangle(542, 588, 182, 39, tocolor(86, 86, 86, 254), true) dxDrawRectangle(788, 588, 182, 39, tocolor(86, 86, 86, 254), true) dxDrawText("Login", 538, 587, 715, 623, tocolor(169, 0, 0, 254), 2, "sans", "center", "bottom", false, false, true, false, false) dxDrawText("Register", 783, 587, 960, 623, tocolor(169, 0, 0, 254), 2, "sans", "center", "bottom", false, false, true, false, false) dxDrawRectangle(542, 554, 20, 19, tocolor(255, 255, 255, 255), true) dxDrawRectangle(787, 554, 20, 19, tocolor(255, 255, 255, 255), true) addEventHandler("onClientClick", root, function() if isMouseInPosition(542, 554, 20, 19) then -- هنا احداثيات الزر -- بعطيك مثل من عندي بس triggerServerEvent("Test", localPlayer) end end ) الحين لو الاعب ضغط على احداثيات 542, 554, 20, 19 بيعمل تريقت للسيرفر بايفنت اسمه تيست بس ملاحظة لو انت بتخليه كذا طول م الاعب بالسيرفر و بيضغط على ذي الاحداثيات بيعمل الامر الي انت حطيته
×
×
  • Create New...