Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. addEventHandler("onClientResourceStart", resourceRoot, function() Almacen = guiCreateWindow(322, 177, 375, 368, "Almacen de Nitros By Kronos", false) N2 = guiCreateButton(10, 65, 110, 64, "Nitro x2", false, Almacen) N5 = guiCreateButton(130, 65, 110, 64, "Nitro x5", false, Almacen) N10 = guiCreateButton(250, 65, 110, 64, "Nitro x10", false, Almacen) Inf = guiCreateButton(73, 156, 101, 67, "Infernus", false, Almacen) Tur = guiCreateButton(203, 156, 101, 67, "Turismo", false, Almacen) Salir = guiCreateButton(16, 307, 346, 52, "Salir", false, Almacen) Bans = guiCreateButton(117, 238, 132, 56, "Banshee", false, Almacen) outputChatBox("Probando", 255, 100, 100) addEventHandler("onClientGUIClick", Salir, Exit, false) end
  2. TAPL

    Question - Math

    local money = math.random( 20, 40 ) givePlayerMoney( money ) outputChatBox( money )
  3. local Marker = createMarker(x, y, z, "cylinder", size, 255, 0, 0, 0) function marker(player) if getElementType(player) == "player" and player == localPlayer then if getPlayerTeam(player) == getTeamFromName("team") then guiSetVisible(wnd, true) showCursor(true) end end end addEventHandler("onClientMarkerHit", Marker, marker)
  4. TAPL

    Top ten

    You haven't added the event 'onAccountsSend' in client side. data.account and data.points not defined here: guiGridListSetItemText ( playerList, row, column, data.account, false, false ) guiGridListSetItemText ( playerList, row, points, data.points, false, false )
  5. You're welcome.
  6. marker = createMarker(x, y, z, "cylinder", 2.5, 255, 255, 0, 0) addEventHandler("onMarkerHit", marker, function(player) if getElementType(player) == "player" then local account = getPlayerAccount(player) if account and not isGuestAccount(account) then aclGroupAddObject(aclGetGroup("Admin"), "user."..getAccountName(account)) outputChatBox("مشرف "..getPlayerName(player).." لقد اخذ اللاعب", root, 255, 255, 255, true) end end end)
  7. https://wiki.multitheftauto.com/wiki/Server_Manual
  8. You can start the resource that come with MTA. The resource name is playerblips. if you don't have it, you can get it from here http://code.google.com/p/mtasa-resources/downloads/list
  9. marker كودي فيه فاصله ناقصه بعد كلمة التعديل marker = createMarker(x, y, z, "cylinder", 2.5, 255, 255, 0, 0) addEventHandler("onMarkerHit", marker, function(player) if getElementType(player) == "player" then local account = getPlayerAccount(player) if account and not isGuestAccount(account) then aclGroupAddObject(aclGetGroup("Admin"), "user."..getAccountName(account)) end end end)
  10. marker = createMarker(x, y, z, "cylinder", 2.5, 255, 255, 0, 0) addEventHandler("onMarkerHit", marker function(player) if getElementType(player) == "player" then local account = getPlayerAccount(player) if account and not isGuestAccount(account) then aclGroupAddObject(aclGetGroup("Admin"), "user."..getAccountName(account)) end end end)
  11. zombies تأكد أن مود الزومبي أسمه وتأكد أن ذا موجود في ملف ميتا مود الزومبي function="createZombie" type="server"/> إذا ما ضبط جرب حمل مود الزومبي من هنا https://community.multitheftauto.com/index.php?p=resources&s=details&id=347
  12. أممم بفكر إذا عرفت بقول لك
  13. تأكد أن مود الزومبي شغال
  14. https://forum.multitheftauto.com/viewtopic.php?f=119&t=51391
  15. يعني اسوي كذا ؟ function show() if getElementData ( g_Me, "LockF2" ) then return end guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end bindKey ("F2", "down", show) لا ذا معرف في مود بلاي فقط g_Me (إذا بتستخدمه في مود ثاني (شوب مثلاً localPlayer إلى g_Me غير
  16. fr_client.lua في ملف 1588 في سطر أو أبحث عن function toggleFRWindow() if isWindowOpen(wndMain) then showCursor(false) hideAllWindows() colorPicker.closeSelect() else showCursor(true) showAllWindows() end end و غيره لـ function toggleFRWindow() if getElementData ( g_Me, "LockF1" ) then return end if isWindowOpen(wndMain) then showCursor(false) hideAllWindows() colorPicker.closeSelect() else showCursor(true) showAllWindows() end end
  17. مود بلاي؟ F1 تقصد
  18. addEventHandler("onPlayerWasted", root, function() setElementAlpha(source, 0) end)
  19. setElementAlpha
  20. exports.zombies:createZombie(x, y, z, 0, skinID) exports.zombies , وشش سالفته؟ "0" : وش هذا؟ ش فايدته؟ skin ID : ابي احط كلل الشخصيات كيف؟ سؤال فتحت الرابط ذا؟ https://wiki.multitheftauto.com/wiki/Slothman/Zombies
  21. إذا حطيته كلينت محد بيشوف السيارة غيرك + ما بتقدر تركب فيها لازم تسويها سيرفر وعشان تسويها سيرفر تحتاج تسوي ترقير + عندك خطأ هنا function car ( ) car أحذف كلمة function ( )
  22. سو سكربت جديد و حط فيه الوظيفة
  23. الي أنت مركبها؟ linux أيش نوع توزيعه الـ
  24. و حط الأحداثيات الي تبي يطلع فيها الزومبي createZombie بعدها أستخدم الفنكشن exports.zombies:createZombie(x, y, z, 0, skinID) و أضن تقدر تسويه عن طريق ماب أديتور كمان لـ رقم 2 StreamMethod بالميتا غير الـ
×
×
  • Create New...