Inputtext
#1

Is there a way to use inputtext without a DIALOG_STYLE_INPUT?
Reply
#2

No..
Reply
#3

Quote:
Originally Posted by admantis
Посмотреть сообщение
No..
Okay then I'll rephrase it. "How can I use some kind of inputtext without using a dialog? I see it in a server every day, so I know it is possible." Here's an example of what I mean:

1. You go to the locker to log into your faction.
2. You type /locker and it brings up a menu that says "Click here to sign in" and you click it.
3. It SendsClientMessage "Type in the password of this faction to log in" and you type it. It sets your team to that faction with no dialog.
Reply
#4

Well, you can always use OnPlayerText and return 0 there.
Reply
#5

http://forum.sa-mp.com/showthread.ph...aking+tutorial
Reply
#6

Yes you can, if you use DIALOG_STYLE_LIST then inputtext will return the text of the listitem you've selected.
Reply
#7

Quote:
Originally Posted by austin070
Посмотреть сообщение
Okay then I'll rephrase it. "How can I use some kind of inputtext without using a dialog? I see it in a server every day, so I know it is possible." Here's an example of what I mean:

1. You go to the locker to log into your faction.
2. You type /locker and it brings up a menu that says "Click here to sign in" and you click it.
3. It SendsClientMessage "Type in the password of this faction to log in" and you type it. It sets your team to that faction with no dialog.
Oh my bad lol I misread. You can use OnPlayerText like the other people said above^.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)