Help me in dialogs! Pls!!
#1

If player write something to the input area and then click on submit, it saves it to the Angle[ 0 ] variable. But this isnt working.


error:
error 046: unknown array size (variable "inputtext")
warning:
warning 215: expression has no effect
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{


    if(dialogid == DIALOG_x)
    {
		if(response == 1)
		{
		inputtext=Angle[ 0 ];
		}
		else
		{
			SendClientMessage(playerid, 0xEB000FFF, ":(");
		}
		return 1;

	}
    return 1;
}
Pls help me!
Reply


Messages In This Thread
Help me in dialogs! Pls!! - by qkac1234 - 25.01.2013, 19:30
Re: Help me in dialogs! Pls!! - by DrDoom151 - 25.01.2013, 19:38
Re: Help me in dialogs! Pls!! - by qkac1234 - 25.01.2013, 19:51
Re: Help me in dialogs! Pls!! - by DrDoom151 - 25.01.2013, 20:02
Re: Help me in dialogs! Pls!! - by qkac1234 - 25.01.2013, 20:05
Re: Help me in dialogs! Pls!! - by DrDoom151 - 25.01.2013, 22:17

Forum Jump:


Users browsing this thread: 1 Guest(s)