how to control INPUT
#1

Is there any way that Server can check what player is typing into dialog input?
Reply
#2

Yes, under your OnPlayerDialogResponse() callback, the variable called "inputtext" stores the information intered into DIALOG_STYLE_INPUT, or the content of the row for DIALOG_STYLE_LIST.
Reply
#3

But before client send dialog into server?
because responding will come up when i hit button
Reply
#4

Quote:
Originally Posted by whitedragon
Посмотреть сообщение
But before client send dialog into server?
because responding will come up when i hit button
What would you need that for? I guess what you're looking for is something like an OnChange() callback, which doesn't exist in SAMP as far as I know.
Reply
#5

i mean dialog for Password...
Reply
#6

Just resend the dialog if something is wrong...
Reply
#7

But is it possible to do with plugins (Somehow)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)