Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. MOJRM-511 again. https://community.multitheftauto.com/index.php?p=resources&s=details&id=5786 DONE, USER BANNED
  2. جرب تحط ذا الكود setElementParent(source, getElementByID("cops")) تحت كود التيم setPlayerTeam
  3. TAPL

    مساعده

    روت عشان يسوي ترقير لكل الي بالسيرفر
  4. TAPL

    مساعده

    حط الكود ذا في السيرفر triggerClientEvent(root, "onbuyBooM", root) تحت السطر ذا if ( PlayerMoney >= 1500) then
  5. https://forum.multitheftauto.com/viewtopic.php?f=119&t=48548#p477853
  6. TAPL

    مساعده

    -- Server Side -- الكود ذا تحطه بالسيرفر لما تشتري قنابل triggerClientEvent(root, "onbuyBooM", root) -- Client Side -- addEvent("onbuyBooM",true) addEventHandler("onbuyBooM", root, function() playSound("sounds.mp3") end)
  7. -- Client Side -- triggerServerEvent("getServerName", localPlayer) addEvent("setServerName", true) addEventHandler("setServerName", root, function(name) local ServerName = guiCreateLabel(160,55,300,20,"",false,GUIEditor_Tab[1]) guiSetText(ServerName, "Server Name : "..name) end) -- Server Side -- addEvent("getServerName", true) addEventHandler("getServerName", root, function() local name = getServerName() triggerClientEvent(source, "setServerName", source, name) end)
  8. i guess you mean this: section: Determines if the item is a section. https://wiki.multitheftauto.com/wiki/GuiGridListSetItemText
  9. موجوده من أصل بأم تي أي serial كلمة يعني ما يحتاج تسوي سكربت https://wiki.multitheftauto.com/wiki/Client_Commands#serial
  10. ايه بس cancelEvent الأفضل ... cancelEvent جرب بـ وقل لي أيش يصير معك
  11. بالشرط ؟ Team ليه كررت لان يا عزيزي إذا ما كان في تيم شرطة و ما كان اللاعب في تيم الشرطة بيكون الشرط كذا if false == false then بالتالي الشرط بيتحقق بدون ما يكون اللاعب في تيم الشرطة و بدون ما يكون تيم شرطة موجود من الأساس
  12. الكود أساساً مافيه كلينت ولا أفنت و الموضوع مافيه كلينت ولا أفنت -_-" كذا ما ينفع إذا أنت مو فاهم كودك و تبي تساعد غيرك
  13. أها من وين جا source طيب
  14. هههههههههه وش تخربطون وين أسم الفنكشن source من وين جا Marker من وين جا
  15. -- Server Side -- addCommandHandler("att", function(player) local vehicle = getPedOccupiedVehicle(player) if (vehicle) then local x, y, z = getElementPosition(player) local object = createObject(2634, x, y, z) attachElements(object, vehicle, 0, 0, 2.5) end end)
  16. -_-" حط أحداثيات السجن
  17. function playerDamage(attacker, weapon) local Team = getTeamFromName("Police") local aTeam = getPlayerTeam(attacker) if Team and aTeam and Team == aTeam and (weapon == 3) then setElementPosition(source, x, y, z) end end addEventHandler("onPlayerDamage", root, playerDamage)
  18. TAPL

    help

    http://www.mediafire.com/?jb5t69w5bc6hjwr
  19. TAPL

    طلب كود

    طبعاً ماله تأثير و الكود بيشتغل بس للتنبيه فقط واحد فقط argument في له guiGetVisible الكود و أنت حاط أثنين if guiGetVisible(GUIEditor_Window[1],true) then
  20. TAPL

    help

    This is your?
  21. TAPL

    help

    You must open the port on the (router/modem). If you tell me what is your (router/modem) company name and model, i may can help you.
  22. الآيدي موجود xpos ypos zpos guiLabelSetColor(getControl(wndMain, 'xpos'), 255,255,0) guiLabelSetColor(getControl(wndMain, 'wbypos'), 255,255,0) guiLabelSetColor(getControl(wndMain, 'zpos'), 255,255,0) هنا مو موجود آيد {'lbl', text='اهلا بك في السيرفر @'}, تقدر تحط أي شي مثلاً {'lbl', id='wb', text='اهلا بك في السيرفر @'}, وتستخدم الكود كذا guiLabelSetColor(getControl(wndMain, 'wb'), 255,255,0)
  23. https://wiki.multitheftauto.com/wiki/SetElementInterior https://wiki.multitheftauto.com/wiki/OnMarkerHit
  24. إذا كنت بدون سيارة On foot لان ذا الليبل يتغير الكلام الي فيه إلى أسم السيارة الي أنت راكبها أو كلمة text مع id لازم تحط له {'lbl', id='curvehicle', text='curvehicle:'},
  25. TAPL

    help

    same, example: External Port Start: 22003 External Port End: 22003
×
×
  • Create New...