• Home
  • Steam Group
  • MafiaRP
    • Server Content
    • Staff
    • Bans
  • Discord
  • Donate
  • Search
  • Home
  • MafiaRP
    • Staff
    • Bans
  • Discord
  • Donate
  • Bans
  • Search
THESE ARE OUR OLD FORUMS. NEW FORUMS --> https://divergenet.works/
THESE ARE OUR OLD FORUMS. NEW FORUMS --> https://divergenet.works/
THESE ARE OUR OLD FORUMS. NEW FORUMS --> https://divergenet.works/
Diverge Networks 1980s Mafia Roleplay Suggestions Denied Implement a script that displays an image of the map.

Implement a script that displays an image of the map.
Votra
Offline

Junior Member
Member
Posts: 6
Threads: 2
Joined: Jun 2022

Reputation: 0
#1
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.
Pendred
Offline

Big Man
Founder
Posts: 1,291
Threads: 101
Joined: Nov 2020

Reputation: 16
#2
12-11-2022, 03:58 PM
There already is one

F1 ---> Help ---> Map
CharlesSKS
Offline

Member
Donator
Posts: 240
Threads: 13
Joined: Dec 2020

Reputation: 8
#3
12-11-2022, 04:03 PM
Or just learn the map…
Professional Faction Decider 
Canadian-bacon
Offline

Staff Member
Community Manager
Posts: 2,412
Threads: 49
Joined: Dec 2020

Reputation: 149
#4
12-11-2022, 04:08 PM (This post was last modified: 12-11-2022, 04:08 PM by Canadian-bacon.)
Appreciate the thought but as pendred said you can access a map ingame already.

Moving this to denied
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© 2020-2021 Diverge Networks

Linear Mode
Threaded Mode