Inputtext problem
#7

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); 
        } 
}
Reply


Messages In This Thread
Inputtext problem - by Wex56 - 02.01.2016, 08:25
Re: Inputtext problem - by IceBilizard - 02.01.2016, 09:07
Re: Inputtext problem - by Wex56 - 02.01.2016, 09:37
Re: Inputtext problem - by Lucky13 - 02.01.2016, 09:43
Re: Inputtext problem - by IceBilizard - 02.01.2016, 09:53
Re: Inputtext problem - by Wex56 - 02.01.2016, 11:57
Re: Inputtext problem - by Lucky13 - 02.01.2016, 17:37
Re: Inputtext problem - by Wex56 - 03.01.2016, 08:52
Re: Inputtext problem - by Lucky13 - 03.01.2016, 10:58
Re: Inputtext problem - by vannesenn - 03.01.2016, 11:09

Forum Jump:


Users browsing this thread: 2 Guest(s)