02.01.2016, 09:53
try this
PHP код:
enum crInfo
{
cDone,
cReported,
cCrime[64],
};
new CrimeInfo[MAX_PLAYERS][crInfo];
if(dialogid == DIALOG_RECORD)
{
if(response)
{
new ID = strval(inputtext);
new id[MAX_PLAYERS], 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[ID][cDone]);
SCM(playerid, WHITE, CmdString);
format(CmdString, sizeof CmdString, " Crime: %s", CrimeInfo[ID][cCrime]);
SCM(playerid, WHITE, CmdString);
format(CmdString, sizeof CmdString, " Reported: %s", CrimeInfo[ID][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);
}
}