[HELP] dialog input reply
#1

i already searcht on the forum but i diddnt get a good awnser.

im making a dialog but i dont know how a input works.
what do i have to do?

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 0)
{
if(response== 1)
{
if(inputtext[] == ........)
{
//something
}
}
}
Reply
#2

https://sampwiki.blast.hk/wiki/How_to_Create_a_Dialog
Reply
#3

this shows how a dialog list works,i already knows that :P

i need to know how a input works
Reply
#4

Quote:
Originally Posted by BurningSWA
Код:
if(inputtext[] == ........)
{
//something
}
https://sampwiki.blast.hk/wiki/Strcmp (if you want to compare two strings)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)