SA-MP Forums Archive
[ Help ] Inputtext - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [ Help ] Inputtext (/showthread.php?tid=138938)



[ Help ] Inputtext - DonMafia - 03.04.2010

Hello.I made the one function cash.Normal i jump table enter the amount But the amount is not sent to me.

Код:
  if(listitem == 18)
  {
  if(adminlvl[playerid] <= 4) return ShowPlayerDialog(playerid,23,DIALOG_STYLE_MSGBOX,"Admin-Level","Nemбљ admin level 4","Ok","Zavrieť");
  ShowPlayerDialog(playerid,25,DIALOG_STYLE_INPUT,"Dať peniaze : Čiastka","Dať peniaze\n\nVloћte čiastku:","Ok","Zavrieť");
  }
  if(dialogid == 25)
  {
  if(response)
  {
  new cash=strval(inputtext);
  GivePlayerMoney(ClickPlayer[playerid], cash);
  }



Re: [ Help ] Inputtext - DonMafia - 04.04.2010

Please Help ..... Sorry double post