11.08.2011, 04:10
Because you're formatting tmp twice and the old value is over-written the second time, why are you even using two formats? This can easily be achieved with a single one. Additionally you're inserting the value as a string when it is an integer in the second format, you need to use %d for integers, for example:
I suggest you read the PAWN documentation over at CompuPhase's website.
pawn Код:
format(tmp, sizeof(tmp), "{FFFFFF}Account: %s\n{FFFFFF}New Balance: {254C01}$%d", RemoveUnderScore(playerid), Player[playerid][BankMoney]);