Jump to content

' A F .

Members
  • Posts

    2,156
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by ' A F .

  1. createMaker -- صنع ماركر onMarkerHit -- عند لمس الماركر getElementType -- جلب العنصر الي لمس الماركر لاعب آلخخ giveWeapon -- اعطاء سلاح
  2. @s7BaT getPlayerMoney بـ الكلينت مافيه ارقمنت اللاعب ..
  3. ^ ثآنكس , تم التعديل ..
  4. غير مجرب addEventHandler("onPlayerChat",root, function ( Message ) if ( Message == "دم" ) then if ( getPlayerMoney ( source ) >= 100 ) then takePlayerMoney ( source , 100 ) setElementHealth ( source , 100 ) outputChatBox(getPlayerName(source).." قام بشراء دم",root,255,255,255,true) end elseif ( Message == "درع" ) then if ( getPlayerMoney ( source ) >= 100 ) then takePlayerMoney ( source , 100 ) setPedArmor ( source , 100 ) outputChatBox(getPlayerName(source).." قام بشراء درع",root,255,255,255,true) end end end )
  5. onElementModelChange getPlayerSerial
  6. ' A F .

    طلب

    guiGetText getColorFromString
  7. اسمي لاااااااااااااااااااااااااااااااااااااااااااااااااااااا تنصيل لول
  8. يا اخي انت ولعبة حاولو تعتمدوا علي حالكم شوي وش بك انت وهو كل يوم 15 موضوع ومحتواهم تافه -,- روح حاول تعتمدعلي نفسك شوي +1,100
  9. الكود ذا يتحقق لو كان الماوس على الـ Position الي انت حطيته يرجع لك ترو
  10. -- Client function isMouseInPosition ( x, y, width, height ) if ( not isCursorShowing ( ) ) then return false end local sx, sy = guiGetScreenSize ( ) local cx, cy = getCursorPosition ( ) 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 addEventHandler("onClientClick",root, function ( Button ,State ) if ( aVisible and Button == "left" and State == "up" ) then if ( isMouseInPosition ( x , y , w , h ) ) then triggerServerEvent("onFix",localPlayer) end end end ) -- Server addEvent("onFix",true) addEventHandler("onFix",root, function ( ) if ( getPlayerMoney ( client ) >= 100 ) then if ( getPedOccupiedVehicle ( client ) ) then fixVehicle ( getPedOccupiedVehicle ( client ) ) takePlayerMoney ( client , 100 ) end end end ) بدل الـ x,y,w,h = بـ احداثيات الـ Rectangle
  11. onClientClick isMouseInPosition triggerServerEvent getPlayerMoney getPedOccupiedVehicle takePlayerMoney fixVehicle
  12. function adham() dxDrawRectangle(150, 197, 506, 228, tocolor(255, 255, 255, 150), false) dxDrawRectangle(110, 198, 10, 0, tocolor(255, 255, 255, 255), false) dxDrawRectangle(130, 197, 549, 32, tocolor(44, 1, 39, 255), false) dxDrawImage(482, 248, 131, 126, ":guieditor/images/flip.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(203, 261, 90, 93, ":guieditor/images/Repair.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(337, 254, 108, 102, ":guieditor/images/Nitro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(482, 248, 131, 126, ":guieditor/images/flip.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(337, 254, 108, 102, ":guieditor/images/Nitro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(337, 254, 108, 102, ":guieditor/images/Nitro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawRectangle(174, 364, 138, 30, tocolor(76, 1, 67, 205), false) dxDrawRectangle(327, 364, 138, 30, tocolor(76, 1, 67, 205), false) dxDrawRectangle(482, 364, 138, 30, tocolor(76, 1, 67, 205), false) dxDrawText("Alex Shop", 316, 197, 577, 225, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Buy ($250)", 369, 370, 482, 388, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Buy ($1500)", 517, 370, 630, 388, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Buy ($900)", 209, 370, 322, 388, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawImage(482, 248, 131, 126, ":guieditor/images/flip.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(337, 254, 108, 102, ":guieditor/images/Nitro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end aVisible = false bindKey("f1","down", function ( ) if ( aVisible == true ) then removeEventHandler("onClientRender",root,adham) showCursor ( false ) else addEventHandler("onClientRender",root,adham) showCursor ( true ) end aVisible = not aVisible end)
  13. ^ من امثالك ي بعدي <3
  14. مانبي نعطي الموضوع اكثر من حجمه : جربت ذا الكود وظبط معي .. function adham ( ) dxDrawText("MultiTheftAuto", 241, 235, 609, 268, tocolor(255, 255, 255, 255), 2.00, "bankgothic", "center", "center", false, false, false, false, false) end aVisible = false bindKey("f1","down", function ( ) if ( aVisible == true ) then removeEventHandler("onClientRender",root,adham) showCursor ( false ) else addEventHandler("onClientRender",root,adham) showCursor ( true ) end aVisible = not aVisible end)
  15. ^ شوف سطر 4 و 7 حاط then ميزو
  16. ^ سطر 4 و 7 ليه حاط then ؟
  17. الدي بوق ؟؟
  18. انا اكتبه فالنوت باد ويعطيني خيارات واخترت ذا سريع سريع وهي تتشابه بعد عرفت ههههههء تم التعديل ومشكور عالتنبيه ^ العفو
  19. aVisible = false bindKey("f1","down", function ( ) if ( aVisible == true ) then removeEventHandler("onClientRender",root,adham) showCursor ( false ) else addEventHandler("onClientRender",root,adham) showCursor ( true ) end aVisible = not aVisible end)
  20. @[A]nD> Line2 : getElemenetsByType to getElementsByType
×
×
  • Create New...