15.01.2012, 16:18
pawn Код:
if (PlayerFile_Load(playerid) == 1)
{
if (APlayerData[playerid][BanTime] < gettime()) return ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_INPUT, TXT_DialogLoginTitle, TXT_DialogLoginMsg, TXT_DialogLoginButton1, TXT_DialogButtonCancel);
else
{
ShowRemainingBanTime(playerid);
Kick(playerid);
}
}
else return ShowPlayerDialog(playerid, DialogRegister, DIALOG_STYLE_INPUT, TXT_DialogRegisterTitle, TXT_DialogRegisterMsg, TXT_DialogRegisterButton1, TXT_DialogButtonCancel);