![]() |
GuiPMEditCtrl Problem
there is no text variable for this text edit GUI... which sucks.. because i cant read or modify the value of this text box (for sending pm's)
please.. stefan if you read this fix this!! |
GuiPMEditCtrl brances off of GuiMLTextEditCtrl, which branches off of GuiMLTextCtrl. GuiMLTextCtrl has the text field.
|
Unfortunately not :(
I dumped getvarnames and it didnt show up... I also tried NAME.text="" and it wouldnt work :( Sadly.. text is NOT a variable on GuiPMEditCtrl :( |
Maybe this was done on purpose to stop people from attempting to log PMs? Try to use NAME.getText() and see if that works, though.
|
No settext() and gettext() do not work.
:-\ make it work |
Hmm, you're right. I think it is because the GuiPMEditCtrl is meant for the players to edit the text field. I guess it is partly to prevent irresponsible staff members from sending false PMs from other accounts.
|
Grr... I see why that is.. but still.
Should be serveroption: rwpm=true :( |
Quote:
|
It wouldnt try and stop them... but it would make it so servers that wanted the ability do to that can. IE: putnpc enabled or something like that... commands that might be dangerous can be enabled if the manager things its okay.
If a dangerous script gets created.. maybe the GST can get off their butts and find it and have the staff remove it. But dont disable features just because it MIGHT be used in a bad way. |
Quote:
|
I was making an 'away message' type system for starters...
|
Quote:
|
Quote:
I am not sure, but I think the syntax is: PHP Code:
|
I know that.. but the thing is its supposed to send a PM back saying, "Im away right now, so leave me a message" or something like that (whatever the player says)
And while its 100% possible to have it sent from the NPC-Server ie: NPC-Server messages you back and says, "So and so is away, leave a message for him" thats dumb.. and since the capabilities ARE THERE.. I should be able to use them. |
Quote:
|
Perhaps Stefan could allow some sort of message system where it distinctly marks the sent message with text saying it's not actually from that player.
Like the "Mass Message:" prefix on mass messages. Maybe "Automated Message:" or "Script Message:". |
Quote:
|
| All times are GMT +2. The time now is 06:58 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.