Author Topic: Missing Textures Warning Pop-Up  (Read 1570 times)

0 Members and 2 Guests are viewing this topic.

Offline frustratedgamers

  • Newbie
  • *
  • Posts: 36
  • Karma: -1
Missing Textures Warning Pop-Up
« on: December 18, 2013, 12:53:18 PM »
I saw this on GMOD Tower and was wondering how this could be done for other servers? Possible with ULX?

If this is possible I'd love to know how to get this done!

Thank you in advance!

NOTE: If you are confused or don't know what I'm talking about, basically its a message that pops up saying "Looks like you are missing textures from CS:S or HL2 EP2" etc... and might say where to go to download the textures and what not.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Missing Textures Warning Pop-Up
« Reply #1 on: December 18, 2013, 04:43:09 PM »
The first thing that came to my mind was file.Exists.
Check if some exclusive to <some game> file or folder existed, and if not, give the message.
However, looking over the Gmod wiki shows lots of different libraries that make me wonder if one of them could be used in a better way.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming