22.12.2010, 23:44
Pessoal jб coloquei as ATM sу que a dialog que fiz num funciona ¬¬'
alguйm tem um funcionando?
a Minha tб assim: sу que nгo deposita.
alguйm tem um funcionando?
a Minha tб assim: sу que nгo deposita.
Код:
if(dialogid == 31) //Atm Depositar
{
if(response)
{
if(strlen(inputtext))
{
ConsumingMoney[playerid] = 1;
SafeGivePlayerMoney(playerid,-strval(inputtext));
new curfunds = PlayerInfo[playerid][pAccount];
PlayerInfo[playerid][pAccount]+= strval(inputtext);
SendClientMessage(playerid, COLOR_WHITE, "|___ BANCO DO ESTADO ___|");
format(string, sizeof(string), " Velho Balanзo: $%d", curfunds);
SendClientMessage(playerid, COLOR_GRAD2, string);
format(string, sizeof(string), " Depуsito: $%d",inputtext);
SendClientMessage(playerid, COLOR_GRAD4, string);
SendClientMessage(playerid, COLOR_GRAD6, "|-----------------------------------------|");
format(string, sizeof(string), " Novo Balanзo: $%d", PlayerInfo[playerid][pAccount]);
SendClientMessage(playerid, COLOR_WHITE, string);
}
}
else
{
//
}
}

