09.01.2014, 21:17
Tag Mismatch:
Код:
new fee = inputext*0.005;
Код:
new str[128]; new inputext = strval(inputtext); new fee = inputext*0.005; PlayerInfo[playerid][pBank] += inputext; PlayerInfo[playerid][pCash] -= inputext; PlayerInfo[playerid][pCash] -= fee; format(str, sizeof(str), "You have deposited $%d into your account. ATM fee: %d New balance: $%d", inputext, fee, PlayerInfo[playerid][pBank]); SendClientMessage(playerid, 0x008000FF, str);