Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- RP-Point Viewer by Greek & Zona ---
- PLUGIN_SHARED = PLUGIN
- -- Include the shared file.
- include("sh_init.lua")
- local rpp_viewer = false
- function rpp_viewer()
- rpp_viewer = true
- local ply = LocalPlayer()
- --Let's make the DFrame.
- local frame = vgui.Create("DFrame")
- frame:SetSize(700, 270)
- frame:Center()
- frame:SetTitle("RPP Viewer - 1.0")
- frame:MakePopup()
- frame:SetDraggable( false )
- frame:ShowCloseButton( false )
- frame.Paint = function(self,w,h) draw.RoundedBox(0, 0, 0, w, h, Color(34, 34, 34, 260)) end
- -------------------------------------------------------------------------------------------
- --Let's make the X Button.
- local CloseButton9 = vgui.Create( "DColorButton", frame )
- CloseButton9:SetPos( 665, 5 )
- CloseButton9:SetSize( 30, 20 )
- CloseButton9:SetText( " X" )
- CloseButton9.Paint = function(self,w,h) draw.RoundedBox(0, 0, 0, w, h, Color(219, 0, 0, 260)) end
- CloseButton9.DoClick = function()
- frame:Close()
- end
- -------------------------------------------------------------------------------------------------
- --Let's make the List.
- local RPPList = vgui.Create( "DListView", frame )
- RPPList:Dock(FILL)
- RPPList:SetMultiSelect(false)
- RPPList:AddColumn("Username")
- RPPList:AddColumn("Reasson")
- RPPList:AddColumn("Administrator" )
- RPPList:AddColumn("Date")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement