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