06.08.2011, 17:01
OK so this is my code:
But when I try to complie it , it give this error:
Line 255 is :
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid==1 && response==0)
{
if(strcmp(inputtext=="lol")
{
SendClientMessage(playerid,red,"Logged in");
}
else
{
SendClientMessage(playerid,red,"fucker");
}
}
}
Код:
D:\sv2\pawno\ascript.pwn(255) : error 033: array must be indexed (variable "inputtext") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
pawn Код:
if(strcmp(inputtext=="lol")