25.01.2013, 19:30
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
Pls help me!
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;
}


It's a local function.