20.10.2013, 16:53
Hello i made a bank system and it kinda dosent take from me money
here is my code:
here is my code:
pawn Код:
else
{
new str[128];
new inputext = strval(inputtext);
pInfo[playerid][pBank] += inputext;
pInfo[playerid][Money] -= inputext;
format(str, sizeof(str), "You have deposited $%d into your account. New balance: $%d", inputext, pInfo[playerid][pBank]);
SendClientMessage(playerid, 0x008000FF, str);
}