Jump to content

./BlackBird#

Members
  • Posts

    1,355
  • Joined

  • Last visited

Everything posted by ./BlackBird#

  1. ./BlackBird#

    plzhelp

    in line 2 you need ) like that local pArea4 = createRadarArea( -125.00333404541, 36.885246276855, 40, -40, 0, 255, 0, 175 ) local pCuboid4 = createColCuboid( -125.00333404541, 13.713443756104, 3.1171875, 10.0, 10.0, 10.0)
  2. ./BlackBird#

    plzhelp

    local hillRadar = createRadarArea ( -2183.5678710938, 705.67950439453, 40, -40, 0, 255, 0, 175 )
  3. ./BlackBird#

    plzhelp

    Required Arguments leftX: A float representing the left 'x' position of the radar area. bottomY: A float representing the bottom 'y' position of the radar area. sizeX: A float representing the width of the radar area. sizeY: A float representing the height of the radar area. r: An integer representing the amount of red in the color. Maximum value is 255 g: An integer representing the amount of green in the color. Maximum value is 255 b: An integer representing the amount of blue in the color. Maximum value is 255 a: An integer representing the amount of alpha in the color. This allows setting the transparency of the radar area. 255 is opaque and 0 is transparent.
  4. ./BlackBird#

    plzhelp

    you can get Position from Admin Panel or getElementPosition
  5. ./BlackBird#

    plzhelp

    are you sure you have created col ?
  6. الموضوع كان باخر صفحه و الحين باول صفحه -____________-""""
  7. GUIEditor = { staticimage = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() rulsewnd = guiCreateWindow(460, 140, 403, 436, "Rule || القوانين", false) guiSetAlpha(rulsewnd, 1.00) guiSetProperty(rulsewnd, "CaptionColour", "FF06D8E0") arabic = guiCreateButton(9, 27, 191, 50, "العربيه", false, rulsewnd) guiSetFont(arabic, "default-bold-small") guiSetProperty(arabic, "NormalTextColour", "FF0E09C9") english = guiCreateButton(201, 28, 191, 50, "English", false, rulsewnd) guiSetProperty(english, "NormalTextColour", "FF09B5CA") GUIEditor.staticimage[1] = guiCreateStaticImage(9, 105, 385, 273, "1.png", false, rulsewnd) GUIEditor.staticimage[2] = guiCreateStaticImage(9, 105, 385, 273, "2.png", false, rulsewnd) Close = guiCreateButton(117, 385, 143, 42, "OK || موافق", false, rulsewnd) guiSetFont(Close, "default-bold-small") guiSetProperty(Close, "NormalTextColour", "FFD30000") end ) function show() if(guiGetVisible(rulsewnd)==true)then guiSetVisible( rulsewnd, false ) showCursor(false) else guiSetVisible ( rulsewnd, true ) showCursor(true) end end addCommandHandler ( "القوانين", show ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == arabic ) then guiSetVisible(GUIEditor.staticimage[2],false) guiSetVisible(GUIEditor.staticimage[1],true) elseif ( source == english ) then guiSetVisible(GUIEditor.staticimage[2],true) guiSetVisible(GUIEditor.staticimage[1],false) elseif ( source == Close ) then guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick)
  8. مافي شي جهاز كل شي تبونه جاهز اوف تعلموا شوي
  9. الرجال مايبية يبين الباسسورد فـي لوححةة بدال الارقام او الحروف يكون نجوم مشفر **** guiEditSetMasked
  10. الرجاء البحث قبل فتح موضوع اخر او اصنعه بنفسك
  11. يمكن اتصالك او الصفحة مشغوله او اعدادات المتصفح جرب متصفح ثاني
  12. انا نفسك بس لما حذفت الاف تي بي ما جتني المشكله
  13. مافهمت ذي النقطة دخلو الماركر ثلاثة و الرابع راح يجيه الحدث و أنت تبيه كلهم ~_~ كيف تجي ياليت توضح ايش الي تبيه تسويه بالضبط انا ابي اذا 4 و فوق دخلوا الماركر يصير لهم الحدث الكود الي فوق شغال بس مشكلته اذا 3 دخلوا الماركر الرابع لما يدخل يصير لحاله الحدث انا ابي الكل
  14. السلام عليكم ورحمه الله و بركاته اول شي اعتذر عن عنوان الموضوع ما اعرف و اكتتب المهم function getPlayerContInMarker(theMarker) i = 0 for _, player in ipairs(getElementsByType("player")) do if isElementWithinMarker(player, theMarker) then i = i + 1 end end return i end addEventHandler("onMarkerHit", marker, function() if(getPlayerContInMarker(marker) => 4)then --حدث end end) المشكله انه اذا في 3 دخلوا الماركر الرابع راح يجيه الحدث انا ابي كلهم
×
×
  • Create New...