08.07.2014, 14:07
(
Последний раз редактировалось DaniceMcHarley; 01.06.2017 в 02:55.
)
------
if (!response) return Kick (playerid); KillTimer(login_timer[playerid]);
if (!response) return Kick (playerid); KillTimer(login_timer[playerid]);
if (!response)
{
KillTimer(login_timer[playerid]);
return Kick (playerid);
}
pawn Код:
|
forward login_timer(playerid);
case DIALOG_LOGIN:
{
if(!response)
{
KillTimer(login_timer[playerid]);
return Kick(playerid);
}
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass]) KillTimer(login_timer[playerid]);
else ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,"Account Login","You have entered an invalid password.\nType your password below to login.","Login","Quit");
return 1;
}