Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. تمسك السلام؟
  2. User Control Panel -> Board preferences -> Edit posting defaults -> Notify me upon replies by default -> No. او ممكن تكون حطيت علامة صح على الخيار ذا الي يجي في الرد سوي تعديل للرد و شيل الصح ان كان موجود
  3. ينقل إلى القسم الصحيح
  4. هنا انت حاط 5 اند بينما الي تحتاجه 2 اند function() الأند الأول لـ if الأند الثاني لـ elseif ما يحتاج اند addEventHandler ("onClientGUIClick", root, function() if ( source == he ) then triggerServerEvent('he', localPlayer) elseif ( source == ar ) then triggerServerEvent('ar', localPlayer) elseif ( source == rl ) then triggerServerEvent('rl', localplayer) elseif ( source == mg ) then triggerServerEvent ('mg', localPlayer) elseif ( source == m4 ) then triggerServerEvent ( 'm4', localPlayer) elseif ( source == de ) then triggerServerEvent ('de', localPlayer) end end end end end ) onClientResourceStart و هنا الكود ذا ما رح يشتغل لان النافذه انت مسويها داخل افنت بالنالي المفترض تحط ذا الكود داخل الأفنت ايضاً guiSetVisible (wnd, false)
  5. setVehicleLightState ينقل إلى قسم البرمجة
  6. I was bored so I come out with this code: aTable = {"Test", abc = "hello", "bla", "421312", www = "a1c234", "W2", "$!@#%!", ["AV"] = true} -- Your table aTableMaxEx = 5 -- Max continuous executing. function doLoop() if not aTableKey then aTableKey, aTableValue = next(aTable, nil) end while aTableKey do if (aTableCount or 0) >= aTableMaxEx then aTableCount = 0 setTimer(doLoop, 5000, 1) break end --Your code outputChatBox(tostring(aTableKey)..", "..tostring(aTableValue)) -- Example -- aTableKey, aTableValue = next(aTable, aTableKey) aTableCount = (aTableCount or 0) + 1 end end doLoop() -- Start the loop It works with both the numerical keys and the string keys.
  7. الشي الي تبي تسويه غير ممكن + الكود الي انت حاطه ماله اي معنى مجرد خربطة من راسك ترا مافيه سطر بالبرمجة يحطونه من الراس كذا مزاج بدون معنى او هدف كل شي لازم له معنى و هدف
  8. تستهبل انت ولا وش تبي نعطيك فنكشات شوب كامل؟!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ذا شي يفترض تعرفه من نفسك و انت تبرمج تبي تسوي شي مثلاً تبي تسوي نافذه؟ استخدم كود الي يسوي نافذه guiCreateWindow تبي تسوي زر؟ استخدم كود الي يسوي زر guiCreateButton تبي يصير شي لما يضغط الزر؟ استخدم حدث عند الضغط على شي 'onClientGUIClick' تبي تعرف كم مع اللاعب فلوس؟ استخدم كود الي يجيب فلوس اللاعب getPlayerMoney تبي تعطي لاعب سلاح؟ استخدم كود الي يعطي سلاح giveWeapon بكل بساطة !!!!!!!!!!
  9. TAPL

    Disallowed weapos

    Then simply don't use giveWeapon?
  10. TAPL

    [Resolved] Smoke lag

    The weapon used in the video is shotgun, yet shotgun makes more smoke than other weapons because of their spread bullet. Edit: Last nightly r6888 works perfectly.
  11. ردي الي فوق واضح
  12. TAPL

    [Resolved] Smoke lag

    You can see on the video how the smoke makes the GPU usage high. Imagine how it would look like when there ~20 players shooting and you have built-in GPU . http://upload.mtasa.com/u/656984394/MTA ... 33-17.txt_ Just wondering if there any thing can be done to get rid of the smoke lag.
  13. x, y, z, mx, my, mz ذولا وين معرفين local distance = getDistanceBetweenPoints3D(x, y, z, mx, my, mz) ذا ماله اي داعي لان الأسم دائماً رح يكون موجود if name then هنا هو اسم تيم اللوكل بلاير tm21 المتغير اعتقد انك تبي تجيب تيم اللاعب من اللوب مو اللوكل بلاير بس الهلوسه هنا جالس تحاول تجيب اسم الاعب من اسم التيم guiGridListSetItemText (GUIEditor.gridlist[1], row,column1,getPlayerName ( tm21 ), false, false) هنا بدل النقطتين المفترض فاصلة guiGridListSetItemText (GUIEditor.gridlist[1], row, column2 ..math.floor(distance), false, false)
  14. You're welcome.
  15. function garage1(player) if getAccountName(getPlayerAccount(player)) == "Nikotuz" then if isGarageOpen(20) then setGarageOpen(20, false) outputChatBox("Garage closed.", player, 255, 255, 255) else setGarageOpen(20, true) outputChatBox("Garage opened.", player, 255, 255, 255) end else outputChatBox("You don't have permission to use this garage.", player, 255, 0, 255) end end addCommandHandler("talli1", garage1)
  16. أشوف ناس كثير يستخدمون الأرقام ذي شكله لها معنى بقبيلة او شي ما معنى او علاقة الأرقام ذي بالقبائل و كيف تم توزيع هذه الارقام على اسماء القبائل؟
  17. للشخصية txd ذا تعديل على ملف TXDWorkshop ببرنامج اسمه
  18. يكتب وين
  19. addEventHandler ( "onClientPlayerWasted",root, function () local x,y,z = getElementPosition( source ) createFire ( x, y, z ) end )
  20. شي طبيعي شف وين حاط الأكواد انت onClientGUIClick حاط الأكواد داخل افنت يعني ما رح يسوي النافذه إلا إذا ضعطت على شي و انت جالس تخفيها بعد اكيد ما رح تكون ظاهره guiSetVisible ( wnd, false )
  21. حاط صوره بالنافذه و النافذه ما بعد تسويها ._.
  22. Everyone can add and edit the wiki, so feel free to add your own language yourself!
×
×
  • Create New...