02.01.2016, 17:37
Try this one:
Код:
enum crInfo { cDone, cReported, cCrime[64], }; new CrimeInfo[MAX_PLAYERS][crInfo]; if(dialogid == DIALOG_RECORD) { if(response) { new pid = strval(inputtext); new h, m, s, Name[MAX_PLAYER_NAME]; gettime(h,m,s); RPName(playerid, Name); SCM(playerid, GRAD2, "_______________| {FFFFFF}MONITOR {BFC0C2}|_______________"); format(CmdString, sizeof CmdString, " Name: %s", CrimeInfo[pid][cDone]); SCM(playerid, WHITE, CmdString); format(CmdString, sizeof CmdString, " Crime: %s", CrimeInfo[pid][cCrime]); SCM(playerid, WHITE, CmdString); format(CmdString, sizeof CmdString, " Reported: %s", CrimeInfo[pid][cReported]); SCM(playerid, WHITE, CmdString); format(CmdString, sizeof CmdString, " Your name: %s", hIme); SCM(playerid, WHITE, CmdString); format(CmdString, sizeof CmdString, "________________________________|{FFFFFF}%d:%d{BFC0C2}|__", h, m); SCM(playerid, WHITE, CmdString); } }