Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 23/05/20 in all areas

  1. https://github.com/Vadya963/50pSublimeText3Package download from here you can read how to install it below
    1 point
  2. مشاء الله اخوي مبدع كالعادة والله شغل مرتب و منسق
    1 point
  3. I answered a similar question before: I edited one line from the original code (from the wiki) dxDrawMaterialLine3D(x, y, z+1+height-(distanceBetweenPoints/distance*width)-1+width, x, y, z+height, Image, width-(distanceBetweenPoints/distance*width), tocolor(R or 255, G or 255, B or 255, alpha or 255)) so the width parameter works as scale, this code is tested and works fine to change the size of the image, if you need non uniform height change you can use the same line with some edits
    1 point
  4. Truth - MTA Wiki Discord Bot Since i was in need for a wiki discord bot on a discord server, I decided to make one. I have also created a dashboard to manage the bot's setting on your guild. This bot is open source so feel free to submit PR's or issues. There is a new wiki coming soon(?), so i am planning to convert this bot to use the new version once it releases if there's no official wiki bot available at that time. I hope this bot can be of use to you. Features Wiki article fetching like on MTA's official discord Wiki article searching Function/Event examples Customizable bot output set via dashboard (hide syntax, hide description etc) Links https://truth.afusensi.xyz/ https://github.com/AfuSensi/truth-mta-wiki-bot
    1 point
  5. @ShayF2 @xFabel @DiGiTal Hi guys! It's an old topic, so probably he isn't developing it anymore. Here is the wiki dump, you can download it as zip and use offline. Link: https://github.com/qaisjp/wiki-dump (description)
    1 point
  6. Uma forma é um loop em getElementsByType "team" e salvá-los seja numa conta do servidor, banco de dados ou de outra maneira. O carregamento com o evento onResourceStart, em seguida obter os teams e criar com createTeam.
    1 point
  7. Even though you misrepresented (and lied about) a lot of things in this appeal, I won't waste more time arguing with you as we've been through this process, during which the true situation surrounding the things you misrepresented became obvious, and also that you kept trying to twist it. That is to say, we've been there, and just because you're now writing another essay doesn't mean that our decision will change. It will not. You're not welcome on MTA, and you have to start accepting that we rejected your ban appeal and told you that the original ban was extended for further illegal activities on MTA. The combination of all of your activities make it clear that you're a really malicious person, and also we won't buy your lies about FFS clan member account (+ a few other player accounts) hacking. We know for a fact, that you didn't only test the access, nor did you do that yourself (you sent an Austrian hacker to do it, one that MTA happens to know really well). Even worse, you misused stored credentials for said FFS clan member account from your old Vultaic server database (he used the same password), it's really not "just testing what you found somewhere". This is actually a recent attempt from the aforementioned guy that you hired for the intrusion, to apologize to the victim (FFS): For the scamming part, in private messages we carefully established why (and which of) your and DizzasteR's actions were considered financially scamming, and explained the reasons MTA would want to put a halt to this, as there were exceptional circumstances during which you spotted a weakness in a person and decided to take advantage of it. We also clarified why we assisted said person to get what he paid for (the contents of your backdoored files) as he had the full ownership rights to it since the sale was for full source code and not providing this for everything means you scammed him in yet another way. We also don't believe the purpose of backdoors. We really got a lot of illegal activity on MTA from you like I said; - Hacking activities (against FFS) - Misuse of DB from your server to compromise account in the hacking offense (your plain-text account storing was probably intended, with future malicious use in mind) - The huge scam with particular reasons for MTA to put consequences to it - Selling gamemodes with backdoors (commands to grant admin access, etcetera) - I really don't believe "its just in case", even if it was, then intruding any server that would use said gamemode using your backdoors would still be a malicious act in itself. You didn't even disclose the existence of backdoors to the buyer(s), nor did you say anything about it when they asked why there's some compiled files despite your promise to provide full source when sold. Anyways, I ask you to accept that your ban appeal is denied, and that you will never be able to get unbanned. I know more about the type of person you are and the extent of your illegal actions that target MTA users and communities than you think I do. Ban appeal denied. Please do not return. From now on, there will be banning on sight.
    1 point
  8. شششكرا لك .. يوفقنا وياك ي رب
    1 point
  9. الأجنبي طفش فالاسبوع 4 مرات يحول للقسم العربي ههههههههههههههههههههههههههههههههههههههههههههههههه ^ + إذا قصدك تغير مكان المود فـ جرب مثلاً حط ليبل فوق الشاشة وجيب احداثياته وحط الإحداثيات فالمود ذا
    1 point
  10. Funcionou amigo, só tive que fazer uma pequena alteração... Para quem mais tiver esse problema, está aqui o código funcionando 100% local pX,pY,pZ = 1018.9672241211, -1992.4956054688, 13.155365943909 function texto() local x,y,z = getElementPosition( getLocalPlayer() ) if getDistanceBetweenPoints3D(pX, pY, pZ, x, y, z) < 10 then local coords = {getScreenFromWorldPosition(pX,pY,pZ)} if coords[1] and coords[2] then dxDrawText("teste", coords[1], coords[2], coords[1], coords[2], tocolor(0, 5, 254, 255), 4.00, "sans", "center", "center", false, false, false, false, false) end end end addEventHandler("onClientRender", root,texto)
    1 point
  11. Alguem sabe Onde ta o erro, Script de NometagID tag = {}; strPlayers = {}; --return tag.NAMETAG_OFFSET = 1.1; tag.NAMETAG_WIDTH = 100; tag.NAMETAG_HEIGHT = 20; tag.NAMETAG_MAX_DISTANCE = 25; tag.NAMETAG_SCALE = 3.5; tag.dxDraw = dxDrawText; tag.dxCreateFont = dxCreateFont; tag.nametagFont = tag.dxCreateFont("font.ttf", 17); tag.size = 0.6; tag.color = 240; tag.size2 = "center" tag.nametagsVisible = true local function removeHexFromString(string) return string.gsub(string, "#%x%x%x%x%x%x","") end addEventHandler("onClientRender", root, function () if not tag.nametagsVisible then return end --local r, g, b = exports.dpUI:getThemeColor() local cx, cy, cz = getCameraMatrix() for player, info in pairs(strPlayers) do local px, py, pz = getElementPosition(player) local x, y = getScreenFromWorldPosition(px, py, pz + tag.NAMETAG_OFFSET) if x then tag.distance = getDistanceBetweenPoints3D(cx, cy, cz, px, py, pz) if tag.distance < tag.NAMETAG_MAX_DISTANCE then local name = info.name or "false" local id = info.ids or "false" --local famali = info.familia or "false" local obsh = name.." ("..id..")" local scale = 1 / tag.distance * tag.NAMETAG_SCALE local width = tag.NAMETAG_WIDTH * scale local height = tag.NAMETAG_HEIGHT * scale local nx, ny = x - width / 2, y - height / 2 --dxDrawNametagText(name, nx, ny, nx + width, ny + height, tocolor(255, 255, 255, 255), scale) tag.dxDraw(obsh, nx, ny, nx + width, ny + height, tocolor(tag.color, tag.color, tag.color, tag.color), tag.size,tag.size, tag.nametagFont, tag.size2, tag.size2) end end end end) function tag.showPlayer(player) if not isElement(player) then return false end setPlayerNametagShowing(player, false) if player == localPlayer then return end strPlayers[player] = {name = player.name,ids = getElementData(player,"id") or "false"} return true end addEventHandler("onClientElementStreamIn", root, function () if source.type == "player" then tag.showPlayer(source) end end) addEventHandler("onClientElementStreamOut", root, function () if source.type == "player" then strPlayers[source] = nil end end) addEventHandler("onClientPlayerQuit", root, function () strPlayers[source] = nil end) addEventHandler("onClientPlayerJoin", root, function () if isElementStreamedIn(source) then tag.showPlayer(source) end setPlayerNametagShowing(source, false) end) addEventHandler("onClientPlayerSpawn", root, function () if isElementStreamedIn(source) then tag.showPlayer(source) end end) addEventHandler("onClientElementDataChange", root, function(dataName, oldValue) if dataName == "Passport" then tag.showPlayer(source) end end) addEventHandler("onClientResourceStart", resourceRoot, function () for i, player in ipairs(getElementsByType("player")) do if isElementStreamedIn(player) then tag.showPlayer(player) end setPlayerNametagShowing(player, false) end end) function setVisible(visible) tag.nametagsVisible = not not visible end
    0 points
×
×
  • Create New...