View Single Post
  #2  
Old 12-21-2011, 01:58 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by Alpho View Post
Quick scripting quesiton, How can I load text from a .txt file that is stored on the server and show it in a gui text control?

this is what I have so far;
PHP Code:
      new GuiMLTextCtrl("CMD_MultiLine1") {
        
profile GuiBlueMLTextProfile;
        
height 17;
        
horizsizing "width";
        
width 463;
        
text gettext("Staff_Commands.txt"); //Something like that?
      

GUI Controls are Clientside, if the text file is stored on the server you need to communicate between the client and server in order to retrieve its data.
Reply With Quote