25.09.2015, 00:44
Tenta usar isso
PHP код:
case DIALOG_LOGIN:
{
if(!response) return true;
if(strlen(inputtext) < 1)
{
SendClientMessage(playerid, -1, "Vocк precisa digitar sua senha!");
return 1;
}
if(strcmp(inputtext, PlayerInfo[playerid][pPassword], true) == 0)
{
DigitouLogin[playerid] = 1;
}
else
{
SendClientMessage(playerid, -1, "[ATENЗГO] Senha incorreta!");
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Digite sua senha:", "Vocк jб й um player registrado, digite uma senha abaixo para logar-se", "Logar", "Voltar");
}
return 1;
}