Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. التيمات موجودة بالسكور بورد؟
  2. انت جالس تقارن المنت التيم ب سترنق لازم تجيب اسم التيم ب فنكشن getTeamName
  3. احذف سورس من سطر 49، السورس معرف داخل الحدث ما يحتاج انت تعرفه يعني مخفي
  4. اطرح كودك
  5. تواجد؟ ايش ذا
  6. ينقل إلى قسم المساهمات
  7. localPlayer -> element
  8. أنت فهمت غلط ما يصير تحطها بدون ما يكون فيه شرط else انا اقصد ان ال if xxxxxxxx then -- تحقق الشرط else -- لم يتحقق الشرط end -- إغلاق ما يصير تحطها بدون ما يكون فيه شرط elseif و حتى ال if xxxxxxxx then -- الشرط الأول -- تحقق الشرط الأول elseif xxxxxxx then -- لم يتحقق الشرط الأول، وضع شرط ثاني -- تحقق الشرط الثاني end -- إغلاق else + elseif و ممكن تحط if xxxxxxxx then -- الشرط الأول -- تحقق الشرط الأول elseif xxxxxxx then -- لم يتحقق الشرط الأول، وضع شرط ثاني -- تحقق الشرط الثاني else -- لم يتحقق الشرط الأول و لم يتحقق الشرط الثاني end -- إغلاق
  9. if بدون else حاط
  10. setSoundVolume او setSoundPaused
  11. on[color=#FF0000]Client[/color]PlayerJoin on[color=#FF0000]Client[/color]PlayerQuit on[color=#FF0000]Client[/color]PlayerChangeNick
  12. function hassan(source) setPedWalkingStyle(source,0) outputChatBox ( "You Now Wolking", source, 255, 255, 255, true ) end -- --end function addCommandHandler ( "walk", hassan)
  13. setElementDimension(Marker, getElementDimension(localPlayer)) setElementInterior(Marker, getElementInterior(localPlayer))
  14. شغال MoDeR2014 كود
  15. تجيب اسم اللوكل بلاير؟
  16. سورس ماهو معرف
  17. صراحه انلحس مخي
  18. rx او ry اضرب كل احجام الخط في rz او جرب ذا و اضرب الأحجام في local rx, ry, rz = (x/1360), (y/768), (x+y)/(1360+768)
  19. GUIEditor = { gridlist = {} } wnd = guiCreateWindow(364, 204, 295, 393, "x[ تجربةة ]x", false) guiWindowSetSizable(wnd, false) GUIEditor.gridlist[1] = guiCreateGridList(9, 15, 276, 321, false, wnd) guiGridListAddColumn(GUIEditor.gridlist[1], "List", 0.9) Start = guiCreateButton(60, 346, 75, 37, "x[ تشغيل ]x", false, wnd) guiSetProperty(Start, "NormalTextColour", "FFAAAAAA") Stop = guiCreateButton(173, 346, 75, 37, "x[ أيقاف ]x", false, wnd) guiSetProperty(Stop, "NormalTextColour", "FFAAAAAA") guiSetVisible ( wnd ,false ) bindKey("F3", "down", function () guiSetVisible(wnd, not guiGetVisible (wnd)) showCursor(guiGetVisible(wnd)) end ) --------------------------------- List = { {" الفاتحة ","http://server11.mp3quran.net/sds/001.mp3"}, } for _,v in ipairs ( List ) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, tostring ( v [ 1 ] ), false, false) guiGridListSetItemData ( GUIEditor.gridlist[1], row, 1, tostring ( v [ 2 ] )) guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) end addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == Start ) then if ( isElement ( sound ) ) then destroyElement ( sound ) end if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) ~= -1 ) then local Link = guiGridListGetItemData ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) sound = playSound ( tostring ( Link ), true ) end end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == Stop ) then if ( isElement ( sound ) ) then destroyElement ( sound ) end end end )
  20. مافيه كلمة بأف 8 تسويه بنفسك addCommandHandler getCameraMatrix outputChatBox
  21. ..و انت من جدك رايح تجرب بعد؟ هريس xmlLoadFile xmlCreateFile xmlFindChild xmlCreateChild xmlNodeSetValue xmlNodeGetValue guiGetText guiSetText xmlSaveFile
  22. local vehTB = {} local marker = createMarker(2498.375, -1674.697, 13.34354, "cylinder", 2, 0, 255, 0, 255) addEventHandler("onMarkerHit", marker, function(player) if getElementType(player) == "player" then if isElement(vehTB[player]) then destroyElement(vehTB[player]) vehTB[player] = nil end local x, y, z = getElementPosition(source) vehTB[player] = createVehicle(411, x, y, z + 1.5) warpPedIntoVehicle(player, vehTB[player]) end end) ولا تنسى تحذف السيارة لما اللاعب يخرج من السيرفر
  23. كودك غلط، يفترض تستخدم جدول
  24. addEvent("buyInvisible", true) addEventHandler("buyInvisible", root, function() local check = getElementAlpha(source) == 255 outputChatBox(check and "انت الان مختفى" or "انت الان غير مختفي", source, 0, 255, 0, true) setElementAlpha(source, check and 0 or 255) setPlayerNametagShowing(source, not check) end)
×
×
  • Create New...