Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. Stolen script. https://community.multitheftauto.com/index.php?p=resources&s=details&id=9396 DONE
  2. كلينت local daire = createMarker(830.7391, -4736.0473, 100, "arrow", 2, 255, 255, 0, 0) setElementData(daire, "mText", "الذهاب إلى الدائري") addEventHandler("onClientMarkerHit", daire, function(hitElement, matchingDimension) if hitElement == localPlayer and matchingDimension then setElementPosition(hitElement, 1814.6175, 859.6475, 10.6656) outputChatBox("تم نقلك إلى الدائري") end end)
  3. ارقمنت الصور مافيه اي خطأ احتمال انك ما حطيت الصور بالميتا او انك حاط المسار حق الصور خطأ fadeCamera و بالنسبة حق setTimer(fadeCamera,2800,1,localPlayer,false) setTimer(fadeCamera,3600,1,localPlayer,true) بالكلينت ما يحتاج تحط لاعب setTimer(fadeCamera,2800,1,false) setTimer(fadeCamera,3600,1,true) و في الماتركس ليه حاط لوكل بلاير الفنكشن ما فيه ارقمنت لاعب اصلاً ._. setCameraMatrix(1793.1867675781,1860.5334472656,126.00825500488,1884.0717773438,1866.1247558594,84.672348022461,localPlayer)
  4. /debugscript 3?
  5. TAPL

    Strange problem

    You should know that the data sync may delay to arrive the other side because of the ping.
  6. TAPL

    Strange problem

    https://wiki.multitheftauto.com/wiki/SetElementData bool setElementData ( element theElement, string key, var value [, bool synchronize = true ] ) Set synchronize argument to false if you don't want the data to be synced. Player is always exist in both side, An example of element that does not exist in both side such as GUI only exist in client side.
  7. TAPL

    Strange problem

    The element data is synced with all clients and the server so each time you change it client side or server side the event 'onElementDataChange' and 'onClientElementDataChange' will get triggered unless the element doesn't exist on the other side or you choose to not sync the data, the event won't get triggered on the other side.
  8. TAPL

    Job [HELP]

    And what the debug say? Edit: Line 55 you re call the function again that's why you have infinite timer.
  9. GUIEditor = { button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(293, 136, 212, 330, "Cars Panel By Mr.Dz", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF5A5A") GUIEditor.button[1] = guiCreateButton(10, 79, 193, 46, "FBI Rancher", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF0623F7") GUIEditor.button[2] = guiCreateButton(10, 135, 193, 46, "Police [1]", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0623F7") GUIEditor.button[3] = guiCreateButton(10, 188, 193, 46, "Police [2]", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF0623F7") GUIEditor.button[4] = guiCreateButton(10, 239, 193, 45, "Police [3]", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF0623F7") GUIEditor.button[5] = guiCreateButton(10, 23, 193, 46, "Police Ranger", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF0623F7") GUIEditor.button[6] = guiCreateButton(10, 289, 193, 31, "Close", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFB50000") local marker1 = createMarker(136.0, 1924.51, 19.167, "cylinder", 3, 30, 72, 6, 255) local marker2 = createMarker(2752.941, -1741.176, 0, "cylinder", 2, 0, 255, 0, 255) local marker3 = createMarker(2752.941, -1741.176, 0, "cylinder", 2, 0, 255, 0, 255) local marker4 = createMarker(2752.941, -1741.176, 0, "cylinder", 2, 0, 255, 0, 255) local marker5 = createMarker(2752.941, -1741.176, 0, "cylinder", 2, 0, 255, 0, 255) local marker6 = createMarker(2752.941, -1741.176, 0, "cylinder", 2, 0, 255, 0, 255) addEventHandler("onClientMarkerHit", root, function(hitPlayer) if (hitPlayer == localPlayer) then if (getPlayerTeam(hitPlayer) == getTeamFromName("Police")) and (getElementData(hitPlayer, "Group") == "[FBI]") then if source == marker1 or source == marker2 or source == marker3 or source == marker4 or source == marker5 or source == marker6 then guiSetVisible(GUIEditor.window[1], true) showCursor(true) end end end end) addEventHandler("onClientGUIClick", root, function() if (source == GUIEditor.button[1]) then triggerServerEvent("carGive", localPlayer, 490) elseif (source == GUIEditor.button[2]) then triggerServerEvent("carGive", localPlayer, 597) elseif (source == GUIEditor.button[3]) then triggerServerEvent("carGive", localPlayer, 598) elseif (source == GUIEditor.button[4]) then triggerServerEvent("carGive", localPlayer, 596) elseif (source == GUIEditor.button[5]) then triggerServerEvent("carGive", localPlayer, 599) elseif (source == GUIEditor.button[6]) then guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end) vehicle = {} addEvent("carGive", true) addEventHandler("carGive", root, function(ID) if isElement(vehicle[source]) then destroyElement(vehicle[source]) end local x, y, z = getElementPosition(source) vehicle[source] = createVehicle(ID, x, y, z) warpPedIntoVehicle(source, vehicle[source]) end) addEventHandler("onPlayerQuit", root, function() if isElement(vehicle[source]) then destroyElement(vehicle[source]) vehicle[source] = nil end end) جرب و شوف إذا جاء اي خطأ بالدي بق
  10. لي اكثر من 6 اشهر مع الأستضافة و كل شي تمام التمام لدرجة ان السيرفر شغال اكثر من شهرين بدون ريستارت بدون مشاكل اضافة إلى ان الدفع بالجوال رسالة وحده ب 10 ريال تضاف بحسابك 2.67 دولار يعني ما ياخذون فلوس زياده بالدفع بالجوال اضافة إلى رخص الأسعار مقارنة بديلوكس و غيرها ب دولارين 20 لاعب و الدعم الفني تلقيه بسكايب و إذا بتاخذ سيرفر خذ من رابطي http://sane-hosting.com/aff.php?aff=004
  11. TAPL

    Command Help

    Thanks and I want the command/code to be /pizza oh i wonder if you too lazy to change the command? And wondering if it even worked lol.
  12. TAPL

    Command Help

    bool addCommandHandler ( string commandName, function handlerFunction, [bool caseSensitive = true] ) I wonder why you put root here.
  13. للأيديت و الأزرار parent حط الـصورة كـ
  14. TAPL

    coleditor

    + للكتبير - للتصغير
  15. TAPL

    Help

    setWeaponProperty
  16. TAPL

    Question

    I'm not sure if this what you asking for. -- Server Side addEventHandler("onPlayerLogin", root, function(_, account) if not getAccountData(account, "FirstTime") then outputChatBox("You're playing for the first time!", source, 0, 255, 0) setAccountData(account, "FirstTime", true) else outputChatBox("This is not the first time for you!", source, 255, 0, 0) end end)
  17. We don't give support with leaked scripts.
  18. ممنوع طرح اكواد مسربة و ممنوع المساعدة في الأكواد المسربة يغلق
  19. TAPL

    its posible

    AccBans = { ["Account Name Here"] = true, ["Account Name Here"] = true, ["Account Name Here"] = true } addEventHandler("onPlayerLogin", root, function(_, account) local accountName = getAccountName(account) if AccBans[accountName] then banPlayer(source) end end)
  20. TAPL

    [Question]

    It's not hard, it's just that you need to give it a try and understand how it works. Also tutorial is available across the forum and the internet for SQL syntax.
  21. TAPL

    [Question]

    He meant SQL or JSON.
  22. TAPL

    help :(

    https://wiki.multitheftauto.com/wiki/OnClientPlayerStealthKill
  23. TAPL

    طلب كود

    setElementRotation و عموماً ذا موجود في نفس فنكشن السيارة و فنكشن السباون -_-"
  24. TAPL

    Join Flood

    He's talking about my server which has 52 days Uptime lol. It's running on 1.3.5-r6121, what was the version it were fixed on?
×
×
  • Create New...