Inputtext problem
#1

Ok, so I tried to make something like police monitor and there I used select textdraw and other stuff, that doesn't matter right now.I have problem with geting string from dialog.I tried using inputtext and I'am getting errors so here is what I have done by now.
Код:
if(dialogid == DIALOG_RECORD)
    {
        if(response)
        {
            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[inputtext][cDone]);
			SCM(playerid, WHITE, CmdString);
			format(CmdString, sizeof CmdString, "	Crime: %s", CrimeInfo[inputtext][cCrime]);
			SCM(playerid, WHITE, CmdString);
			format(CmdString, sizeof CmdString, "	Reported: %s", CrimeInfo[inputtext][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);
        }
If you need something else just post!
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: 1 Guest(s)