One dialog after another
#2

pawn Код:
if(dialogid==DIALOG_PFILEA && response)
{
         new vardas=strval(inputtext),string[128];
         format(string,sizeof(string),"%s byla",vardas);
  ShowPlayerDialog(playerid,DIALOG_PFILECRIME,DIALOG_STYLE_INPUT,"Asmens bylos pildymas",string","Saugoti","Atрaukti");
  if(dialogid==DIALOG_PFILECRIME && response)
  {
   new string[128],query[128];
   GetPlayerName(playerid,Name,sizeof(Name));
   format(string,sizeof(string),"
%s. Бraрл:%s",inputtext,Name);
   format(query,sizeof(query),"
UPDATE `PoliceFiles` SET Nusikaltimai = '%s' WHERE Vardas = '%s'",string,vardas);
   ShowPlayerDialog(playerid,DIALOG_YOUR,DIALOG_MSGBOX,"
something","something","ok","NO!");
}
}
Reply


Messages In This Thread
One dialog after another - by dusk - 06.03.2013, 12:17
Re: One dialog after another - by Scrillex - 06.03.2013, 12:37
Re: One dialog after another - by dusk - 06.03.2013, 12:51
Re: One dialog after another - by L.Hudson - 06.03.2013, 12:55
Re: One dialog after another - by dusk - 06.03.2013, 13:38
Re: One dialog after another - by L.Hudson - 06.03.2013, 13:51
Re: One dialog after another - by dusk - 06.03.2013, 14:08
Re: One dialog after another - by mamorunl - 06.03.2013, 14:09
Re: One dialog after another - by dusk - 06.03.2013, 14:22
Re: One dialog after another - by mamorunl - 06.03.2013, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)