![]() |
GUI Editable Text
With the editable text in GUIs, how do I access what is typed in the blank to use in a clan name? Like for instance, you type in a blank the name of the account you are going to add, and press the button, it finds the player using the text blank? I tried using the EditableText.text thing to find it... Can someone explain hoW?
|
Exactly like such, whatever.text is how you read it. Take a look at my buddy communication system and look at the GUI portion to see how to do it (the ToBuddy_SendButton.onAction() part).
|
You could use:
PHP Code:
|
Quote:
Never used gettext() when reading player input with GUIs, but gettext() is definitely not the only way (as you make it sound like). An example of what I'm saying is the one that I pointed to in my post above. Just commenting on the fact that it's not the only way, other than that, use it as you please. :) |
Yeah, didn't want to make it sound like it's the only way, will edit, sorry :p
|
| All times are GMT +2. The time now is 06:50 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.