DialogBox 'inputtext'
#8

Fuck, kay, I fixed it but now I have a new problem.

When I enter any number, It takes the money from me and instantly closes the dialog box. Help please?

pawn Код:
if(dialogid==6)
{
if(!response)return 0;
if(strval(inputtext) > PlayerInfo[playerid][pCash]) {
SendClientMessage(playerid, COLOR_RED, "You cannot deposit more money that you atcually have!");
}
PlayerInfo[playerid][pCash] = PlayerInfo[playerid][pCash] - strval(inputtext);
AntiHack(playerid, -strval(inputtext));
PlayerInfo[playerid][pAccount] = PlayerInfo[playerid][pAccount] + strval(inputtext);
}
Reply


Messages In This Thread
DialogBox 'inputtext' - by Antonio [G-RP] - 01.06.2010, 01:26
Re: DialogBox 'inputtext' - by [HiC]TheKiller - 01.06.2010, 01:45
Re: DialogBox 'inputtext' - by Antonio [G-RP] - 01.06.2010, 01:54
Re: DialogBox 'inputtext' - by Antonio [G-RP] - 01.06.2010, 01:57
Re: DialogBox 'inputtext' - by Antonio [G-RP] - 01.06.2010, 02:34
Re: DialogBox 'inputtext' - by Calgon - 01.06.2010, 02:36
Re: DialogBox 'inputtext' - by Antonio [G-RP] - 01.06.2010, 03:01
Re: DialogBox 'inputtext' - by Antonio [G-RP] - 01.06.2010, 03:07
Re: DialogBox 'inputtext' - by ettans - 01.06.2010, 04:05
Re: DialogBox 'inputtext' - by Antonio [G-RP] - 01.06.2010, 04:47

Forum Jump:


Users browsing this thread: 2 Guest(s)