Inputtext - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Inputtext (
/showthread.php?tid=244184)
Inputtext -
austin070 - 26.03.2011
Is there a way to use inputtext without a DIALOG_STYLE_INPUT?
Re: Inputtext -
admantis - 26.03.2011
No..
Re: Inputtext -
austin070 - 26.03.2011
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.
Re: Inputtext -
Jochemd - 26.03.2011
Well, you can always use OnPlayerText and return 0 there.
Re : Inputtext -
Vukilore - 26.03.2011
http://forum.sa-mp.com/showthread.ph...aking+tutorial
Re: Inputtext -
WackoX - 26.03.2011
Yes you can, if you use DIALOG_STYLE_LIST then inputtext will return the text of the listitem you've selected.
Re: Inputtext -
admantis - 26.03.2011
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^.