23.12.2010, 09:42
(
Последний раз редактировалось Chavequinho; 23.12.2010 в 10:49.
)
Ainda nгo testei mas tente isto:
pawn Код:
if(dialogid == 31) //Atm Depositar
{
if(response)
{
if(strlen(inputtext))
{
new dinheirodepositado = strval(imputtext);
SafeGivePlayerMoney(playerid, -dinheirodepositado;
PlayerInfo[playerid][pAccount]+= dinheirodepositado;
SendClientMessage(playerid, COLOR_WHITE, "|___ BANCO DO ESTADO ___|");
format(string, sizeof(string), " Velho Balanзo: $%d", PlayerInfo[playerid][pAccount]);
SendClientMessage(playerid, COLOR_GRAD2, string);
format(string, sizeof(string), " Depуsito: $%d", dinheirodepositado);
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);
}
}
}