30.01.2015, 12:57
Hello!
Code I've made isn't working - no errors or smth but in game text in dialog is not showed, only last format is there..
Code I've made isn't working - no errors or smth but in game text in dialog is not showed, only last format is there..
pawn Код:
format(string, sizeof(string), "{FFFFFF}Welcome back {00FF00}%s{FFFFFF}! \n\n",name);
format(string, sizeof(string), "{FFFFFF}This account is registered, insert your password to {00FF00}login {FFFFFF}to your account\n\n");
format(string, sizeof(string), "{FFFFFF}Current time:{FF8000} %02d:%02d\t\t\t{FFFFFF}Times Logged:{FF8000} %d\n",hour,minute,second,pInfo[playerid][Logins]);
format(string, sizeof(string), "{FFFFFF}Date:{FF8000} %02d/%02d/%d\t\t\t{FFFFFF}Last Login:{FF8000} %02d/%02d/%d",year,month,day,pInfo[playerid][LastLoginD],pInfo[playerid][LastLoginM],pInfo[playerid][LastLoginY]);
format(string, sizeof(string), "FFFFFF}Gangsters in city: {FF8000}%d\t\t\t{FFFFFF}Failed Attempts:{FF0000} 0/3",Iter_Count(Player));
ShowPlayerDialog(playerid,dlogin,DIALOG_STYLE_INPUT,"{FF8000} Mafia World Roleplay",string,"Login","Quit");