Gui menu problem.
#1

I have this code:
pawn Код:
if(response)
{
if(dialogid == 90000)
{
if(strlen(inputtext))
{
if(inputtext > PlayerInfo[playerid][pAccount])
{
SendClientMessage(playerid, COLOR_WHITE, "You don't have that money in your account!");
return 1;
}
ConsumingMoney[playerid] = 1;
GivePlayerCash(playerid,inputtext);
PlayerInfo[playerid][pAccount]=PlayerInfo[playerid][pAccount]-inputtext;
}
}
}
It's a bank dialog system, when someone types /withdraw will appear this, but I have this errors, too:

pawn Код:
error 033: array must be indexed (variable "inputtext") x2
error 035: argument type mismatch (argument 2)
Reply


Messages In This Thread
Gui menu problem. - by Razvann - 09.03.2010, 12:56
Re: Gui menu problem. - by Razvann - 10.03.2010, 10:45
Re: Gui menu problem. - by Joe_ - 10.03.2010, 11:17
Re: Gui menu problem. - by Deat_Itself - 10.03.2010, 11:21
Re: Gui menu problem. - by Razvann - 10.03.2010, 11:26
Re: Gui menu problem. - by Joe_ - 10.03.2010, 11:36
Re: Gui menu problem. - by Razvann - 10.03.2010, 11:42
Re: Gui menu problem. - by Joe_ - 10.03.2010, 11:45
Re: Gui menu problem. - by Razvann - 10.03.2010, 11:46
Re: Gui menu problem. - by Joe_ - 10.03.2010, 11:57

Forum Jump:


Users browsing this thread: 2 Guest(s)