Jump to content

Vunili

Members
  • Posts

    431
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Vunili

  1. وعليكم السلام getElementPosition createMarker attachElements
  2. باقي 7 ساعات وتخلص الإجازة
  3. addCommandHandler( "GetCameraPos", function ( ) local x, y, z, xl, yl, zl = getCameraMatrix( ) if ( x == 0 or y == 0 or z == 0 ) then return end setClipboard(" "..x..", "..y..", "..z..", "..xl..", "..yl..", "..zl.." ") end )
  4. local var = 0 addCommandHandler("var", -- امر كوماند function ( cmd , mark ) if ( mark ) then if mark == "+" then -- اذا كتبت الأمر فار وحطيت موجب راح تلاحظ ان الرقم انزاد واحد var = var + 1 elseif mark == "-" then -- نفس الشي اذا حطيت سالب راح تلاحظ ان الرقم قل var = var - 1 elseif mark == "delete" then -- اذا حطيت = بعد الأمر فار يرجع الرقم 0 if var >= 1 then var = 0 end end end end ) addEventHandler("onClientRender",root, function () dxDrawText(var, 553, 361, 811, 397, tocolor(255, 255, 255, 255), 1, "default-bold", "center", "center", false, false, true, false, false) end ) edit : اشرحوا لي ذا الكود؟ function sizeFormat(size) local size = tostring(size) if size:len() >= 4 then if size:len() >= 7 then if size:len() >= 9 then local returning = size:sub(1, size:len()-9) if returning:len() <= 1 then returning = returning.."."..size:sub(2, size:len()-7) end return returning.." GB"; else local returning = size:sub(1, size:len()-6) if returning:len() <= 1 then returning = returning.."."..size:sub(2, size:len()-4) end return returning.." MB"; end else local returning = size:sub(1, size:len()-3) if returning:len() <= 1 then returning = returning.."."..size:sub(2, size:len()-1) end return returning.." KB"; end else return size.." B"; end end
  5. --server function speaker ( client, command ) local x, y, z = getElementPosition ( client ) local speaker = createObject ( 2229, x, y, z -1 ) if (getPedOccupiedVehicle(client)) then attachElements(speaker, getPedOccupiedVehicle(client), 0.3, -0.2, 1.1 ) end end addCommandHandler ( "spk", speaker ) --ذا مثال بسيط --سو اذا ضغط زر التشغيل ينزل السبيكر او اذا دخل السيارة --طبعا لا تنسى تسوي تريقر من كلينت ل سيرفر
  6. سوق كوم مسوين عروض تشتري جهاز يعطونك الثاني مجانا الحق ماتلحق http://deals.souq.com/sa-ar/tag/8228
  7. طيب اشرحوا الكود اللي فوق؟
  8. @#BrosS يسوي حركة وما تقدر توقف الا اذا طفيت المود -- function sizeFormat(size) local size = tostring(size) if size:len() >= 4 then if size:len() >= 7 then if size:len() >= 9 then local returning = size:sub(1, size:len()-9) if returning:len() <= 1 then returning = returning.."."..size:sub(2, size:len()-7) end return returning.." GB"; else local returning = size:sub(1, size:len()-6) if returning:len() <= 1 then returning = returning.."."..size:sub(2, size:len()-4) end return returning.." MB"; end else local returning = size:sub(1, size:len()-3) if returning:len() <= 1 then returning = returning.."."..size:sub(2, size:len()-1) end return returning.." KB"; end else return size.." B"; end end
  9. تقدر تستفيد من هالمود selector skin
  10. انت وش تبي تسوي بالضبط؟
  11. setPlayerSkin(player,1)
  12. صراحة سكربت اكثر من رائع ومتعو ب عليه اهنيك صراحة , بالتوفيق
  13. createObject(2229, x, y, z ) getPedOccupiedVehicle attachElements
  14. https://community.multitheftauto.com/index.php?p=resources&s=details&id=11717
×
×
  • Create New...