30.01.2015, 13:45
pawn Код:
format(string, sizeof(string), "{FFFFFF}Welcome back {00FF00}%s{FFFFFF}! \n\n",name);
format(string, sizeof(string), "%s{FFFFFF}This account is registered, insert your password to {00FF00}login {FFFFFF}to your account\n\n", string);
format(string, sizeof(string), "%s{FFFFFF}Current time:{FF8000} %02d:%02d\t\t\t{FFFFFF}Times Logged:{FF8000} %d\n", string, hour, minute, second, pInfo[playerid][Logins]);
format(string, sizeof(string), "%s{FFFFFF}Date:{FF8000} %02d/%02d/%d\t\t\t{FFFFFF}Last Login:{FF8000} %02d/%02d/%d", string, year, month, day, pInfo[playerid][LastLoginD], pInfo[playerid][LastLoginM], pInfo[playerid][LastLoginY]);
format(string, sizeof(string), "%s{FFFFFF}Gangsters in city: {FF8000}%d\t\t\t{FFFFFF}Failed Attempts:{FF0000} 0/3", string, Iter_Count(Player));
ShowPlayerDialog(playerid,dlogin,DIALOG_STYLE_INPUT,"{FF8000} Mafia World Roleplay",string,"Login","Quit");