Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. أنت حاط نقطة بدل فاصلة 255.255.0 غيره إلى 255,255,0 تقدر عن طريق الكود https://wiki.multitheftauto.com/wiki/GuiSetFont و طبعاً تستخدمه نفس طريقة تلوين الليبل
  2. TAPL

    طلب كود

    حط كود الكلينت كامل مع كود السيرفر كامل
  3. ما يحتاج تفتح موضوع ثاني كمل أسئلتك في الموضوع القديم https://forum.multitheftauto.com/viewtopic.php?f=119&t=48785
  4. ذا الكود {'lbl', id='اسمك:'}, غيره إلى {'lbl', id='YourName', text = 'اسمك:'}, mainWndShow و هذا تحط في الفنكشن إلى رقم اللون r,g,b مع تغير guiLabelSetColor(getControl(wndMain, 'YourName'), r,g,b) و كمل الباقي
  5. TAPL

    help

    I don't understand, what name?
  6. TAPL

    help

    router name: Internet <~ The default port is 22003 and http port is 22005 and ASE port is 22126 You need to open: UDP 22003 TCP 22005 UDP 22126
  7. TAPL

    مساعده

  8. لا يا عزيزي بيركب السيارة و تلقائياً بيخرج منها لان الكود ذا موجود removePedFromVehicle(player)
  9. policeVehicles = { [598]=true, [596]=true, [597]=true, [599]=true } -- آرقام سيارات الشرطة function enterVehicle(player) local Team = getPlayerTeam(player) and getTeamName(getPlayerTeam(player)) if (policeVehicles[getElementModel(source)]) and (Team ~= "Police") then removePedFromVehicle(player) outputChatBox("Only policeman can enter police cars!", player) end end addEventHandler("onVehicleEnter", root, enterVehicle) جرب
  10. LoL?
  11. TAPL

    help

  12. جرب -- Client Side -- triggerServerEvent("onGetTop", localPlayer) addEvent("onClient",true) addEventHandler("onClient", root, function (top) for i, data in ipairs(top) do local row = guiGridListAddRow(GUIEditor_Grid[1]) guiGridListSetItemText(GUIEditor_Grid[1], row, nametop, tostring(data.name), false, false) guiGridListSetItemText(GUIEditor_Grid[1], row, datatop, tostring(data.kills), false, true) end end) -- Server Side -- addEvent("onGetTop",true) addEventHandler("onGetTop", root, function() top = {} for s,a in ipairs(getAccounts()) do local accName = getAccountName(a) local Zkill = getAccountData(a, "Zombie kills") or 0 table.insert(top, {name = accName, kills = Zkill} ) end table.sort(top,function(a,b) return (tonumber(a.kills)or 0) > (tonumber(b.kills)or 0) end) setTimer(function(player) triggerClientEvent(player, "onClient", player, top) end, 1000, 1, source) end)
  13. كنت ناسي قوس أنسخ الكود مره ثانية
  14. TAPL

    help

    Don't double post, use edit button instead. Read the wiki link BEFORE YOU ASK AGAIN. For (Roleplay mod) you can search at community. https://community.multitheftauto.com
  15. policeVehicles = { [598]=true, [596]=true, [597]=true, [599]=true } -- آرقام سيارات الشرطة function enterVehicle(player) local Team = getPlayerTeam(player) and getTeamName(getPlayerTeam(player)) if (policeVehicles[getElementModel(source)]) and (Team ~= "Police") then removePedFromVehicle(player) outputChatBox("Only policeman can enter police cars!", player) end end addEventHandler("onVehicleEnter", root, enterVehicle)
  16. TAPL

    help

    You're welcome.
  17. حط الخطأ الي يجيك هنا عشان نعرف المشكلة
  18. TAPL

    help

    This is wrong "user.Console"/>S.K have you read the link i giving you? https://wiki.multitheftauto.com/wiki/Server_Manual#Adding_administrators it should be "user.S.K" /> and it should be in group Admin.
  19. TAPL

    help

    Post your ACL.
  20. TAPL

    help

    https://wiki.multitheftauto.com/wiki/Server_Manual
  21. ذا تعويض عن خلل بالأستضافة وليس خدمه مجانية ولا يسمى عرض خاص
  22. https://wiki.multitheftauto.com/wiki/SetMinuteDuration
  23. يا عزيزي ذا الكومند للأدمنية فقط ACL إذا تبي تلغية لازم تعدل بـ
  24. https://wiki.multitheftauto.com/wiki/FxAddDebris https://wiki.multitheftauto.com/wiki/FxAddGlass
×
×
  • Create New...