![]() |
Quick Gui Question
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:
|
Quote:
|
Here's a hint:
1. triggerserver requesting text 2. load text in onActionServerSide using loadstring 3. send text to client using triggerclient 4. set text based on data from onActionClientSide Please try and search the forums about each topic. My guide has links to content that will help as well, see my sig for that. |
Quote:
As for the function to get the data from the text file, what would that be? |
Quote:
And I will check out your tutorial/guide =] |
Quote:
There is no page titled "loadstring". Where do I upload the txt file to? |
Quote:
|
Okay I got this:
PHP Code:
|
Quote:
PHP Code:
|
Quote:
|
| All times are GMT +2. The time now is 03:00 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.