Jump to content

' A F .

Members
  • Posts

    2,156
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by ' A F .

  1. -- table onClientRender dxDrawRectangle dxDrawImage dxDrawText interpolateBetween
  2. setTimer ( function ( ) for i, player in ipairs ( getElementsByType ( "player" ) ) do givePlayerMoney ( player , 5000 ) end end, 30000, 1 )
  3. الطلب ذا يمكن متكرر بالقسم اكثر من 10 مرات دور راح تلاقي ..
  4. 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 function dx_test ( ) dxDrawRectangle(129, 227, 475, 240, tocolor(0, 0, 0, 255), false) dxDrawRectangle(129, 189, 475, 43, tocolor(8, 8, 8, 255), false) dxDrawRectangle(318, 442, 90, 25, tocolor(8, 8, 8, 255), false) dxDrawRectangle(340, 444, 19, 18, tocolor(121, 9, 118, 255), false) dxDrawRectangle(365, 444, 19, 18, tocolor(121, 9, 118, 255), false) dxDrawLine(129, 232, 605, 232, tocolor(183, 15, 178, 255), 1, false) dxDrawText("Music", 314, 189, 414, 232, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("OMGF - Hello Remix 2015 [Trap] :", 144, 255, 285, 271, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawRectangle(421, 251, 55, 26, tocolor(27, 160, 9, 255), false) dxDrawRectangle(480, 251, 55, 26, tocolor(169, 0, 0, 255), false) dxDrawText("ON", 421, 251, 476, 277, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("OFF", 480, 251, 535, 277, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("BANGARANG [FT.SIRAH] 2015 :", 144, 296, 285, 312, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawRectangle(421, 292, 55, 26, tocolor(27, 160, 9, 255), false) dxDrawRectangle(480, 292, 55, 26, tocolor(169, 0, 0, 255), false) dxDrawText("ON", 421, 292, 476, 318, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("OFF", 480, 292, 535, 318, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("KYOTO - [FT.SIRAH] 2015 :", 144, 337, 285, 353, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawRectangle(421, 333, 55, 26, tocolor(27, 160, 9, 255), false) dxDrawRectangle(480, 333, 55, 26, tocolor(169, 0, 0, 255), false) dxDrawText("ON", 421, 333, 476, 359, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("OFF", 480, 333, 535, 359, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("The Chainsmokers - Don‘t Let Me Down [Trap] :", 144, 377, 285, 393, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawRectangle(421, 373, 55, 26, tocolor(27, 160, 9, 255), false) dxDrawRectangle(480, 373, 55, 26, tocolor(169, 0, 0, 255), false) dxDrawText("ON", 421, 373, 476, 399, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("OFF", 480, 373, 535, 399, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("1", 340, 445, 359, 462, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("2", 365, 445, 384, 462, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) end local sShowing = false bindKey("F4","down", function ( ) if ( sShowing == true ) then removeEventHandler("onClientRender",root,dx_test) showCursor ( false ) else addEventHandler("onClientRender",root,dx_test) showCursor ( true ) end sShowing = not sShowing end ) مجربة وشغال وش المشكلة ؟؟
  5. الغلط منك صراحة آسحب عليهم لاتخش سيرفرهم !
  6. كودك يصير هيك addEventHandler ( "onClientGUIClick",root, function ( ) if source == GUIEditor.button[4] then if ( guiGetText ( GUIEditor.edit[1] ) ~= "" ) then triggerServerEvent("Send_",localPlayer,guiGetText(GUIEditor.edit[1])) end end end ) -- Server addEvent("Send_",true) addEventHandler("Send_",root, function ( Text ) outputChatBox ( Text , root , 255 , 255 , 255 , true ) end )
  7. setTimer getElementsByType givePlayerMoney
  8. السطر الاول خطا unction to function
  9. ^ من الافضل ان يستخدم onClientRender or onClientPreRender
  10. انا معطيه الفنكشنات الحين ليه تسون فهامه وتعطونه الكود خلوه يحاول شوي !!
  11. هذا طرحته من زمان شوفه رح يفيدك الكود سيرفر سايد
  12. onClientGUIClick setElementData -- Server onPlayerChat getElementData cancelEvent اظغط على الفنكشن الي تبيه ويطلع لك شرح
  13. مشكور تم الإفادة ,,, يعطيكم العافية : ] العفو حياك الله
  14. ضيف هاذا الكود عند ظغط الزر guiSetInputEnabled(false)
  15. الكود حلو كيف اخترعته
×
×
  • Create New...