Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Copyright by turtle you can edit and improve it but don't remove the credits or sell to anyone or remove this headline*/
- LocalPlayer():ChatPrint("New Improved toybox downloader")
- local TD = vgui.Create( "DFrame" )
- TD:SetPos( 50,50 )
- TD:SetSize( 500, 700 )
- TD:SetTitle( "Toybox" )
- TD:SetVisible( true )
- TD:SetDraggable( true )
- TD:ShowCloseButton( true )
- TD:MakePopup()
- local TDV = vgui.Create("DListView")
- TDV:SetParent(TD)
- TDV:SetPos(25, 50)
- TDV:SetSize(450, 625)
- TDV:SetMultiSelect(false)
- TDV:AddColumn("Toybox ID")
- TDV:AddColumn("Size")
- TDV:GetSelectedLine( )
- local NoSpam = 0
- local inum = inum or 1
- hook.Add("Think","Update", function()
- if (CurTime() >= NoSpam) then
- http.Get("http://toybox.garrysmod.com/ingame/?view="..inum.."&tab=code","",function(a,b)
- if #a <= 16 then inum = inum + 1 return end
- //if #a then
- //print(a)
- DermaListView:AddLine(inum,#a)
- //print(inum,#a)
- inum = inum + 1
- //end
- end)
- NoSpam = CurTime() + 6
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment