12-11-2022, 03:58 PM
Code:
-- Create a new frame to hold the image
local frame = vgui.Create( "DFrame" )
frame:SetSize( 400, 300 )
frame:SetTitle( "Image" )
frame:SetVisible( true )
frame:SetDraggable( true )
frame:ShowCloseButton( true )
frame:Center()
-- Load the image and set it as the background of the frame
local image = vgui.Create( "DImage", frame )
image:SetPos( 25, 50 )
image:SetSize( 350, 200 )
image:SetImage( "your/image/path.png" )
At image:SetImage( "your/image/path.png" )
Upload this photo of a map to the server via FTP: https://cdn.discordapp.com/attachments/8..._final.png
Then place its path in those quotations.