22.09.2012, 23:38
Hello everybody.
well my problem is this.
simply does not work, always sends a return even if correct.
I would like the dialog inputText if it were the same as my variable it continues to function.
what's wrong in my script?
Sorry for the english.
well my problem is this.
simply does not work, always sends a return even if correct.
I would like the dialog inputText if it were the same as my variable it continues to function.
what's wrong in my script?
Sorry for the english.
pawn Код:
if(dialogid == DIALOG_MANDAREMAIL)
{
if(!response) return SendClientMessage(playerid,-1,"Vocк cancelou enviar um texto");
if(response)
{
format(Global,sizeof(Global),inputtext);
if(Player[playerid][canal] != strval(Global)) return SendClientMessage(playerid,-1,"Error: use um texto valido");
SendClientMessage(playerid,-1,"funciono");
return 1;
}
}