Jump to content

Ahmed Ly

Members
  • Posts

    1,304
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Ahmed Ly

  1. طيب كيف اخلي label فوق راس لاعب ؟
  2. نبي ندير لم نضرب حد علي راسه و يموت يظهر النص في شاشه و النص هدا نبيه يتحرك فوق و تحت
  3. شكرا لك + كيف نحرك GUIEditor.label[1] ?? نستعمل guiGetPosition كيف ؟ addEventHandler("onClientRender",getRootElement(),function() x,y = guiGetPosition(GUIEditor.label[1],false) xN,xY = x + 2 , y if xN >= 450 then xN = -200 end guiSetPosition(GUIEditor.label[1],xN,xY,false) end) مافهمت منك شي
  4. شكرا لك + كيف نحرك GUIEditor.label[1] ?? نستعمل guiGetPosition كيف ؟
  5. يب نبي نسوي ترقير للنص يظهر يعني لم نضرب حد علي راسه يطلع في شاشه مثلــ headshot + 5
  6. السلام عليكم وين خطا في كود هدا ؟ كلنت GUIEditor = { label = {}, } GUIEditor.label[1] = guiCreateLabel(288, 306, 158, 45, "Head_Shot + 5", false) local font_0 = guiCreateFont("Dragon.ttf",13) guiSetFont(GUIEditor.label[1], font_0) guiLabelSetColor(GUIEditor.label[1], 24, 49, 230) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) guiSetVisible(GUIEditor.label[1],false) function head() sound = playSound("HeadShot.mp3", false) setSoundVolume(sound, 1.0) guiSetVisible(GUIEditor.label[1],true) x,y = guiGetPosition(GUIEditor.label[1] ,false) xN,xY = x + 1 , y if xN >= 700 then xN = 100 guiSetPosition(GUIEditor.label[1] ,xN,xY,false) setTimer(closewin, 3000, 1) end end addEvent("text", true) addEventHandler("text", getRootElement(), head) function closewin() guiSetVisible(GUIEditor.label[1],false) end سيرفر function playerDamage ( attacker, bodypart ) if (attacker and attacker ~= source and isElement(attacker)) and bodypart == 9 then exports["topbarchat"]:sendClientMessage ( "[server-Dragon] Head Shot",attacker, 255, 170, 0 ) triggerClientEvent(attacker,"text",attacker) end end addEventHandler("onPlayerWasted",root,playerDamage)
  7. السلام عليكم انا سويت لوحة تقدر تغير رمز حسابك Server function password (NewPassword) local user = getAccountName(getPlayerAccount(source)) setAccountPassword(user,NewPassword) end addEvent("pass",true) addEventHandler("pass",root,password) و مشكله في debugscript [2016-03-13 22:37:40] WARNING: sss\s_ahmed.lua:6: Bad argument @ 'setAccountPassword' [Expected account at argument 1, got string 'BEHIG']
  8. اهلا بالجميع نقدم لكم لوحه تسجيل فيها لغتين ------- طبعا المود من صنع اخوي MC~MeDo -------- رابط https://community.multitheftauto.com/ind ... s&id=12803
  9. addEventHandler("onClientGUIClick",root, function () if source == اسم زر then setElementHealth(localPlayer,100) end end ) جرب
  10. جرب كلنت function takeCash () if source == GUIEditor.button[4] then triggerServerEvent("onbuy",localPlayer) end end addEventHandler("onClientGUIClick",root,takeCash) سيرفر addEvent("onbuy", true) addEventHandler("onbuy", root, function() local PlayerMoney = getPlayerMoney(source) if PlayerMoney >= 500 then takePlayerMoney(source, 500) setElementPosition(source,x,y,z) end end )
  11. addEvent("addactivecode", true) addEventHandler("addactivecode", root, function(acc, activitioncode) for i,accc in ipairs(getAccounts()) do setAccountData(accc, "ActivitionCode",activitioncode) end end)
  12. عليكم سلام سكربت رائع و جميل استمر يبطل
  13. تاكد انك مشغل مود killmessages
  14. جرب اكود هدا function login () exports["killv1"]:outputMessage(" #ffffff "..getPlayerName(source).." #FF6464 قام لاعب بتسجيل الدخول ",getRootElement(),0,255,0) end addEventHandler("onPlayerLogin",getRootElement(),login) + حطيت اسم مود كيل مسج؟؟ في اكود ؟
  15. function login () exports["هنا اكتب اسم مود الكيل مسج"]:outputMessage("تم تسجيل دخول",source,0,225,0) end addEventHandler("onPlayerLogin",root,login)
  16. ااستخدم exports exports["هنا اكتب اسم مود الكيل مسج"]:outputMessage
  17. client دي كلينت givegla = guiCreateWindow(173, 58, 460, 316, "توزيع الانشرات من صنع جابر", false) guiWindowSetSizable(givegla, false) guiSetAlpha(givegla, 1.00) guiSetVisible(givegla,false) thegla = guiCreateEdit(121, 55, 201, 76, "الكمية", false, givegla) buttongive = guiCreateButton(160, 172, 123, 37, "اعطاء الاعبين", false, givegla) guiSetProperty(buttongive, "NormalTextColour", "FFFFFFFF") closegla = guiCreateButton(394, 25, 56, 24, "x", false, givegla) guiSetProperty(closegla, "NormalTextColour", "FFFFFFFF") addCommandHandler("GiveGLA", function() guiSetVisible(givegla,true) showCursor(true) end) addEventHandler("onClientGUIClick",root, function() if (source == closegla) then guiSetVisible(givegla,false) showCursor(false) end end) addEventHandler("onClientGUIClick",root, function() if (source == buttongive) then local gla = guiGetText(thegla) triggerServerEvent("gla",localPlayer,getLocalPlayer(),gla) end end) جرب givegla = guiCreateWindow(173, 58, 460, 316, "توزيع الانشرات من صنع جابر", false) guiWindowSetSizable(givegla, false) guiSetAlpha(givegla, 1.00) guiSetVisible(givegla,false) thegla = guiCreateEdit(121, 55, 201, 76, "الكمية", false, givegla) buttongive = guiCreateButton(160, 172, 123, 37, "اعطاء الاعبين", false, givegla) guiSetProperty(buttongive, "NormalTextColour", "FFFFFFFF") closegla = guiCreateButton(394, 25, 56, 24, "x", false, givegla) guiSetProperty(closegla, "NormalTextColour", "FFFFFFFF") addCommandHandler("GiveGLA", function() guiSetVisible(givegla,true) showCursor(true) end) addEventHandler("onClientGUIClick",root, function() if (source == closegla) then guiSetVisible(givegla,false) showCursor(false) end end) addEventHandler("onClientGUIClick",root, function() if (source == buttongive) then local gla = guiGetText(localPlayer) triggerServerEvent("gla",localPlayer,gla) end end)
  18. سكربت جميل ورائع بالتوفيق لك
×
×
  • Create New...